Multiply tensor and vector
Hi,
I wanted to know if it is possible to multiply a tensor and a vector to obtain another vector as result. I tried using the multiplication sign but it is not possible. Thanks! |
Take a look at the programming guide.
|
Hey,
I did and tried the inner product but it won't give the right result. I just did manual matrix multiplication. Thanks, Tony |
Quote:
Best, |
Hey,
Here is the code. The commented parts is the manual multiplication (which works) and the last line is what I tried. It compiles and runs but it doesnt give the right result. When it compiles it gives a warning "warning: suggest parentheses around + or - in operand of &" Code:
bladePointDummie=bladePoints[c][n][k]; |
All times are GMT -4. The time now is 05:48. |