Author |
Message |
angel61606
Joined: Jul 8, 2020 Posts: 81
|
Posted: Feb 6, 2022 9:22 AM Post subject: working with bioera vectors |
|
Hi Jarek
I am using VectorExpressionEvaluator to do dotproduct of two input vectors. i thought vector inputs are actually vectors and to do dotproduct i need a for loop. But a for loop doesn't work this way. I don't know how to work with bioera vectors. |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 952
|
|
 |
angel61606
Joined: Jul 8, 2020 Posts: 81
|
Posted: Feb 6, 2022 10:14 AM Post subject: |
|
what do you mean by this "You operate on vector fields, not vectors directly"? I want to write a loop that for i=0 to 1024 multiplies value of index i of the vector1 in value of index i of the vector2. the input and output of VectorExpressionEvaluator don't seem to be really a vector. |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 952
|
Posted: Feb 7, 2022 8:31 PM Post subject: |
|
If you want to just multiply element wise, then this expression should work:
In1 * In2 |
|