Skip to main content
1-Visitor
Mar 23, 2015 11:12 PM UTC
Question

How to multiple two vectors to produce a vector of products?

I am sure I am missing something but...

I want to multiple two vectors... Say, a vector of molecular weights times an equal length vector of component molar flow rates to produce a vector of component mass flow rates.

If I simply multiply the two vectors in MCP3.1, I get a scalar which is the sum of the products (in the example above it would be the total mass flow for the stream).

But how do I generate a vector where each element is the product of a mwt times a molar flow?

[I did look at the vector operators and functions but none of them seemed to do it.]

TIA

--Doug

4 replies

12-Amethyst
Mar 24, 2015 9:14 AM UTC

You need to use the vectorise operator Available from a couple of places on the ribbon or <ctrl><shift>6

attached is Prime 2 but shows the operation

regards

Translate
ddenholm1-VisitorAuthor
1-Visitor
Mar 24, 2015 1:00 PM UTC

Thanks... That does the trick.

--Doug

Translate
23-Emerald I
Mar 24, 2015 10:38 AM UTC

Look up "vectorize" in help, an arrow above the multiply operation

Translate
ddenholm1-VisitorAuthor
1-Visitor
Mar 24, 2015 1:00 PM UTC

Thanks! --Doug

Translate