You are here: Symbol Reference > Sparse Namespace > Classes > TSparseMtx Class > public > TSparseMtx.ActualIters Property
MtxVec VCL
ContentsIndex
PreviousUpNext
TSparseMtx.ActualIters Property

Returns the number of actual iterations performed by Solve.

Pascal
property ActualIters: integer;

Returns the number of actual iterations performed by Solve. After running direct solver (TSparseMtx.Solve method) with active iterative refinement (RefinmentIters bigger than 0) or iterative solvers (SolveIterative method), the ActualInters property contains the actual number of iterations performed.

uses MtxExpr, Sparse; procedure Example; var x,b: Vector; sparseM: TSparseMtx; begin // ... x.size(b); sparseM.SolveIterative(b,x); ShowMessage('Number of iterations : ' + IntToStr(sparseM.ActualIters); end;
#include "MtxExpr.hpp" #include "Sparse.hpp" void __fastcall Example() { sVector x,b; x.Size(b); TSparseMtx* sparseM = new TSparseMtx(); //.. sparseM.SolveIterative(b,x); ShowMessage("Number of iterations : " + IntToStr(sparseM->ActualIters); delete sparseM; }
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!