# cfgpmtr_1 # written by John Dannenhoffer # sensitivities cannot be calculated for CFPMTRs # A is scalar CFGPMTR CFGPMTR A 1 # B, C, and D are 3x1 vector CFGPMTRs DIMENSION B 3 1 CFGPMTR B 1;2;3 DIMENSION C 3 1 CFGPMTR C 1;2 # 2 is repeated to fill out array DIMENSION D 3 1 CFGPMTR D 1;2;3;4 # 4 is lost # E and F are 3x2 matrix CFGPMTRs DIMENSION E 3 2 DIMENSION F 3 2 CFGPMTR E "5;6;7;\ 5;6;7;" CFGPMTR F "0;0;0;\ 1;1;1" # make points POINT A[1] 0 0 SELECT NODE ATTRIBUTE _color $red PATBEG i B.size POINT B[i] 1 0 SELECT NODE ATTRIBUTE _color $green PATEND PATBEG i C.nrow POINT C[i] 2 0 SELECT NODE ATTRIBUTE _color $blue PATEND PATBEG i D.size POINT D[i] 3 0 SELECT NODE ATTRIBUTE _color $cyan PATEND PATBEG i E.nrow PATBEG j E.ncol POINT E[i,j] F[i,j] 0 SELECT NODE ATTRIBUTE _color $magenta PATEND PATEND END