PropertyNode::fVals2

ClassName

PropertyNode

AccessType

public

Name

fVals2

Declaration

matrix<float> fVals2

Remark

Examples

EX1

void PropertyNode_fVals2_ex1()
{
    Tree tr;
    TreeNode trN = tr.AddNode("node1",1);
    
    matrix<float> matf = {
        {1.1,2.2,3.3},
        {4.4,5.5,6.6}
    };
    trN.fVals2 = matf;    //Assign matrix values to tree node
    
    matrix<float> matCheck;
    matCheck = trN.fVals2;
    
    printf("node1 = \n");
    for(int ii = 0; ii < matCheck.GetNumRows(); ii++)
    {
        for(int jj = 0; jj < matCheck.GetNumCols(); jj++)
            printf("%f\t",matCheck[ii][jj]);
        printf("\n");
    }
}

Description

Matrix of float values of the node.

header to Include

origin.h

See Also

PropertyNode::fVals

Reference