nVals2
PropertyNode
public
matrix<int> nVals2
EX1
void PropertyNode_nVals2_ex1() { Tree tr; TreeNode trN = tr.AddNode("node1",1); matrix<int> matn = { {1,2,3}, {4,5,6}, {7,8,9} }; trN.nVals2 = matn; //Assign matrix values to tree node matrix<int> matCheck; matCheck = trN.nVals2; 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 integer values of the node.
origin.h
PropertyNode::nVal, PropertyNode::nVals