This is the basic C++ program of C++ armadillo library which shows how to shift particular element of column of the given matrix by some particular number. It can be carried out by the help of inbuilt function "shift" in armadillo library. "shift" function takes two parametres.First is the input matrix name and second is integer value by which elements needs to be shifted.
Comments