MtxExprInt.GetRow Method

VectorInt GetRow(TMtxInt Mtx, Int32 Row)

Copies a row from matrix.

#NameTypeDescription
1MtxTMtxIntsource TMtxInt
2RowInt32

Returns: VectorInt

Examples
TVecInt a;
TMtxInt b;
MtxVec.CreateIt(out a);
MtxVec.CreateIt(out b);
try
    {
        b.SetIt(2,2,[1,2,
        3,4]);
        a.GetRow(b,0); // a now contains new double[] {1,2}
    }
finally
    {
        MtxVec.FreeIt(ref a);
        MtxVec.FreeIt(ref b);
    }