sVals2
PropertyNode
public
matrix<short> sVals2
EX1
void PropertyNode_sVals2_ex1() { Tree tr; TreeNode trN = tr.AddNode("node1",1); matrix<short> mats = { {1,2,3}, {4,5,6}, {7,8,9} }; trN.sVals2 = mats; //Assign matrix values to tree node matrix<short> matCheck; matCheck = trN.sVals2; printf("node1 = \n"); for(int ii = 0; ii < matCheck.GetNumRows(); ii++) { for(int jj = 0; jj < matCheck.GetNumCols(); jj++) printf("%d\t",matCheck[ii][jj]); printf("\n"); } }
Matrix of shrot integer values of the node.
origin.h
PropertyNode::sVals