LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Matrix in MatrixMul

Hey everybody,

 

i have generated a dynamic Matrix, like this

 

double **matrix;

matrix = malloc(8*sizeof(double*));

for(i=0;i<8;i++)

{

matrix[i] = malloc(8*sizeof(double));

}

MatrixMul(matrix,something,8,8,8,result);

 

it says my matrix size is to small. can anybody help me?

0 Kudos
Message 1 of 3
(2,913 Views)

Hello Leee,

 

Dynamically Allocated Matrices in CVI

 

I hope this helps you.

best regards
Alexander
0 Kudos
Message 2 of 3
(2,897 Views)

Hello Duffy,

 

it did help me to learn that the matrices of the Advanced Analysis Library require one-dimensional arrays. Unfortunately, this important hint is not mentioned in the help...

0 Kudos
Message 3 of 3
(2,892 Views)