Hi,

I'm looking for Library for Matrix operation (add,subtract, multiple, inverse) ?

Does it exist any?

Thanks,

Milos

Hi,

I'm looking for Library for Matrix operation (add,subtract, multiple, inverse) ?

Does it exist any?

Thanks,

Milos

Hi Milos,

Yes, there are library functions available for matrix operations. They are defined in the include file "matrix.h" available at the path below:

<VDSP install path>\Program Files\Analog Devices\VisualDSP 5.0\213xx\include

For more details on these functions, you could refer VisualDSP help.

Thanks,

Mitesh

Example for people who need it.

#include <matrix.h>

#define ROWS_1 2

#define COLS_1 2

#define COLS_2 1

double a[ROWS_1][COLS_1]={{1, 2 },{3, 4}}, *a_p = (double *) (&a);

double b[COLS_1][COLS_2] = {1, 2}, *b_p = (double *) (&b);

double c[ROWS_1][COLS_2]= {0, 0}, *c_p = (double *) (&c);

int main( void )

{matmmlt (c_p, a_p, b_p, ROWS_1, COLS_1, COLS_2);

return 0;

}from Run-Time Library Manual for SHARC® Processors

Hi Milos,

Yes, there are library functions available for matrix operations. They are defined in the include file "matrix.h" available at the path below:

<VDSP install path>\Program Files\Analog Devices\VisualDSP 5.0\213xx\include

For more details on these functions, you could refer VisualDSP help.

Thanks,

Mitesh