【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.10.11 PropertyNode::nVals2
Contents
ClassName
PropertyNode
AccessType
public
Name
nVals2
Declaration
matrix<int> nVals2
Remark
Examples
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"); } }
Description
Matrix of integer values of the node.
Header to Include
origin.h
See Also
PropertyNode::nVal, PropertyNode::nVals