sydney Posted August 4, 2010 Report Share Posted August 4, 2010 I have had a need to make an array of NaNs several times and would think that this might be a useful addition to the math constants already there. It makes it easier to do checking to seem how many elements were actually assigned values at least once via the isNaN operator. Quote Link to comment
Shaun Hayward Posted August 4, 2010 Report Share Posted August 4, 2010 (edited) Are you looking for something like this? To get a NaN constant, simply type NaN into any numeric constant. The "is NaN?" node will automatically adjust to give an array of booleans out if you give it an array of numerics. Edited August 4, 2010 by Shaun Hayward Quote Link to comment
PaulG. Posted August 4, 2010 Report Share Posted August 4, 2010 (edited) I have had a need to make an array of NaNs several times and would think that this might be a useful addition to the math constants already there. It makes it easier to do checking to seem how many elements were actually assigned values at least once via the isNaN operator. Just get a numeric constant and type NaN inside. (Curses! Foiled by Shaun again!) Don't you have a job? Edited August 4, 2010 by PaulG. Quote Link to comment
Shaun Hayward Posted August 4, 2010 Report Share Posted August 4, 2010 Just get a numeric constant and type NaN inside. (Curses! Foiled by Shaun again!) Don't you have a job? Its one of those slow days where I'm the only one left in the office (the rest are in Austin)... At least this way I can feel somewhat productive Quote Link to comment
PaulG. Posted August 5, 2010 Report Share Posted August 5, 2010 Its one of those slow days where I'm the only one left in the office (the rest are in Austin)... At least this way I can feel somewhat productive I've been abandoned at work while other LV elites went to Austin a few times as well. But I sure got a lot more done without all the interruptions. Quote Link to comment
crelf Posted August 7, 2010 Report Share Posted August 7, 2010 I have had a need to make an array of NaNs several times and would think that this might be a useful addition to the math constants already there. It makes it easier to do checking to seem how many elements were actually assigned values at least once via the isNaN operator. Obviously others have shown how to make a NaN constant, but I agree that it should be in the constants palette. Please make the suggestion here. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.