This is the basic C++ program of C++ armadillo library which shows how to find minimum and maximum element of rows and column of the given matrix and also of the given vector. It can be carried out by the help of inbuilt functions "max" and"min" in armadillo library. Bothfunction takes two parametres. If one parameter is passed second is treated as zero. First is the input matrix name or vector name and second is integer value that is 0 or 1. 0 is for column wise and 1 is for row wise.
Comments