Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: working with bioera vectors
Reply to topic
Author Message
angel61606



Joined: Jul 8, 2020
Posts: 106

PostPosted: Feb 6, 2022 3:22 PM    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: 1056

PostPosted: Feb 6, 2022 3:38 PM    Post subject:

Look for info about VectorExpressionEvaluator in this section of the manual:

http://proatech.com/be/manual.html#_ExpressionEvaluator

You operate on vector fields, not vectors directly.

Jarek
angel61606



Joined: Jul 8, 2020
Posts: 106

PostPosted: Feb 6, 2022 4:14 PM    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: 1056

PostPosted: Feb 8, 2022 2:31 AM    Post subject:

If you want to just multiply element wise, then this expression should work:

In1 * In2
Reply to topic