You are here: Symbol Reference > MtxVecInt Namespace > Classes > TMtxInt Class > public > TMtxInt.IndexOf Method
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxInt.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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!