Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Here's another approach ...
Even works in Prime 1.0
Stuart
Yes, we can have here only one loop for!
We have in Mathcad Prime a new operator returns a matrix row:
One additional quastion.
Can you convert a matrix into a vector (create a matrix2vector function) with one loop for?
I can do it in Mathcad 15 but not in Mathcad Prime.
Valery Ochkov wrote:
One additional quastion.
Can you convert a matrix into a vector (create a matrix2vector function) with one loop for?
I can do it in Mathcad 15 but not in Mathcad Prime.
Yes. My standard vec function does it with only loop (and uses recursion to flatten any nested elements), but I imagine this isn't the один дополнительный) вопрос that you really had in mind?
Stuart
One loop for without recursion:
I see first time in Mathcad 15/Prime that var:=... var= and var:=...= is not equal:
Valery Ochkov wrote:
I see first time in Mathcad 15/Prime that var:=... var= and var:=...= is not equal:
An even bigger problem, and a far more frustrating one, is that whereas I can evaluate
vec(0,0,1..1) in Mathcad 11..15, I can't even enter a range definition (x,y..z) as an argument in Prime 1.0.
Stuart