Have a look at the CodeCogs matrix function \url http://www.codecogs.com/d-ox/array/matrix.php #include <codecogs/array/matrix.h> int main { double** b=matrix<double>(10,5); // creates a matrix with 10 rows and 5 columns for(int j=0; j<10; j++) for(int i=0; i<5; i++) b[j][i] = i*j; free_matrix(b) }
Login