You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > MatrixInt.IndexOf Method
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.IndexOf Method

Returns the 1D index in to the matrix.

Pascal
function IndexOf(const Row: integer; const Col: integer): integer;

Row*Mtx.Cols + Col

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