I am a recent convert from MathCad 15 to Prime 3.0. In the attached Prime 3.0 worksheet, what is the correct formatting for stating if a variable is not an answer (NaN) to set a variable to one value, and if it is an answer to set it to another variable?
Solved! Go to Solution.
You do it the same way in Prime as you did in Mathcad - you use the built-in boolean function IsNaN(...).
You do it the same way in Prime as you did in Mathcad - you use the built-in boolean function IsNaN(...).
As always, thank you Werner.
Alternatively :
kkkk := 2 - IsNaN(k.FBeam1)
Adrien Thurin wrote:
Alternatively :
kkkk := 2 - IsNaN(k.FBeam1)
Or as a vector index, so you still have a free choice which value to assign in either case: