Howdy,
I want to build a 100 index array in ICE that looks like
0,0,1,1,0,0,1,1,00,1,1 etc
I’m guessing that this is doable, but I’m stumped.
--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.
--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.
I’m not sure if this is easy in ICE, but in coding you could build that pattern very easily with a truth table and an XOR operator.
Matt
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Grahame Fuller
Sent: Thursday, September 05, 2013 4:40 PM
To: soft...@listproc.autodesk.com
Subject: RE: arrays yet again
For the first case, here’s one way:
Build an index array of the size you want, and modulo the result by 4.
Build an array [0,0,1,1].
Use the result of the modulo to select a value from this array.
gray
From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of Ponthieux, Joseph G. (LARC-E1A)[LITES]
Sent: Thursday, September 05, 2013 7:06 PM
To: soft...@listproc.autodesk.com
Subject: RE: arrays yet again
An array that looks like
0,1,4,5,8,9,12,13,16,17,20,21,etc
would also do…
Thanks
--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.
Fun with arrays ;)
for the 00110011 case
--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.
These are terrific! Thanks
--
Joey Ponthieux
LaRC Information Technology Enhanced Services (LITES)
Mymic Technical Services
NASA Langley Research Center
__________________________________________________
Opinions stated here-in are strictly those of the author and do not
represent the opinions of NASA or any other party.
"""I could make this array in my sleep with Perl. But….this is not Perl…."""
Is that anywhere close to a sweet dream?