R
Rohan Shah
i am looking for some simple matrix routines: vector*matrix,
matrix*matrix etc...in the form of code like the following that
multiplies two vectors:
void vmult(double* aa, double* bb, double* cc, int lnt) {
//cc += lnt;
while(lnt--) {
*cc++ = *bb++ * *aa++;
}
}
thanks in advance - Rohan
comp.lang.c
matrix*matrix etc...in the form of code like the following that
multiplies two vectors:
void vmult(double* aa, double* bb, double* cc, int lnt) {
//cc += lnt;
while(lnt--) {
*cc++ = *bb++ * *aa++;
}
}
thanks in advance - Rohan
comp.lang.c