{ Analytica Model Two_D_analog_of_Subs, encoding="UTF-8" } SoftwareVersion 6.0.8 { System Variables with non-default values: } SampleSize := 1000 TypeChecking := 1 Checking := 1 SaveOptions := 2 SaveValues := 0 {!-50299|DiagramColor Model: 65535,65535,65535} {!-50299|DiagramColor Module: 65535,65535,65535} {!-50299|DiagramColor LinkModule: 65535,65535,65535} {!-50299|DiagramColor Library: 65535,65535,65535} {!-50299|DiagramColor LinkLibrary: 65535,65535,65535} {!-50299|DiagramColor Form: 65535,65535,65535} NodeInfo FormNode: 1,0,0,,0,0,,,,0,,,0 {!-50299|NodeColor Text: 62258,62258,62258} {!-60000|Attribute AcpStyles} Model Two_D_analog_of_Subs Title: Two-D analog of Subset Description: Shows how to obtain the coordinates of the True items in a 2-D (or more) array. Author: Dale Rice~ Lumina Decision Systems Date: Thu, Oct 7, 2021 4:20 PM DiagState: 2,0,0,944,537,17 FontStyle: Arial,15 FileInfo: 0,Model Two_D_analog_of_Subs,2,2,0,0,W:\Tech Support\Two-D analog of Subset.ana Index I Title: I Definition: 1..10 NodeLocation: 168,88,1 NodeSize: 64,24 Index J Title: J Definition: 1..10 NodeLocation: 168,152,1 NodeSize: 64,24 Variable A Title: A Definition: Random(Bernoulli(0.25,over:I,J)) NodeLocation: 336,128,1 NodeSize: 64,24 ValueState: 2,970,63,729,341,,MIDM Variable Coords_of_1s Title: Coords of 1s Definition: LocalIndex Ind := IndexesOf(A);~ MdArrayToTable(A)[.Col=Ind] NodeLocation: 504,128,1 NodeSize: 64,24 ValueState: 2,1008,472,465,389,,MIDM Close Two_D_analog_of_Subs