Using *VOPER for vector multiplication
Using *VOPER for vector multiplication
(OP)
Hi
I've defined a Vector {R} 100x1 and a vector {U} 100x1 in ANSYS using making an array. Then i want to calculate the product {U}^T*{R}.
I cant find a command to get the transpose of a vector, but I can define the {U} as 1x100 instead.
I have done that but if try to make the multiplication:
x=[U]*{R}
then x is only the product of: U(1,1)*R(1,1)
How is it possible to perform the vector multiplication?
I've defined a Vector {R} 100x1 and a vector {U} 100x1 in ANSYS using making an array. Then i want to calculate the product {U}^T*{R}.
I cant find a command to get the transpose of a vector, but I can define the {U} as 1x100 instead.
I have done that but if try to make the multiplication:
x=[U]*{R}
then x is only the product of: U(1,1)*R(1,1)
How is it possible to perform the vector multiplication?





RE: Using *VOPER for vector multiplication
*voper,R,R,mult,U
*vscfun,dotproduct,sum,R
Regards,
Alex
RE: Using *VOPER for vector multiplication
*DIM,UT,,1,100
*MFUN,UT(1),tran,U(1)