function GetRow(const Mtx: TMtxInt; Row: Integer): VectorInt;
Copies a row from matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Mtx | TMtxInt | |
| 2 | Row | Integer |
Returns: VectorInt
Examples
var a: TVecInt;
b: TMtxInt;
begin
CreateIt(a);
CreateIt(b);
try
b.SetIt(2,2,[1,2,
3,4]);
a.GetRow(b,0); // a now contains [1,2]
finally
FreeIt(a);
FreeIt(b);
end;
end;