I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Programming » C/C++ »

CodeCogs\′s Photo
17 Sep 05, 1:52PM
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)
}
Currently you need to be logged in to leave a message.