You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > SetRow Method > Matrix.SetRow Method (TDenseMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.SetRow Method (TDenseMtxVec, integer, integer, integer, integer)

Copy vector Vec elements [VecIndex]..[VecIndex+Len-1] to the calling matrix elements [Row,Col]..[Row,Col+Len-1].

Pascal
function SetRow(const Vec: TDenseMtxVec; VecIndex: integer; Row: integer; Col: integer; Len: integer): TMtx; overload;

An exception is raised if condition checking is enabled and array bounds are overrun. An exception is raised, if Vec and the calling matrix complex properties do not match.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!