You are here: Symbol Reference > Polynoms Namespace > Functions > Polynoms.StripLeadZeros Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Polynoms.StripLeadZeros Function

Removes leading zeros.

Pascal
procedure StripLeadZeros(Src: TVec; Dst: TVec); overload;

Removes leading zeros. In case of polynomials the most left coefficents in the array are for the highest powers. If those coefficients are zero they can be removed. The routine will copy the Src to Dst and remove any leading zeros from Dst.

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