Polynoms.StripLeadZeros Method

void StripLeadZeros(TVec Src, TVec Dst)

Removes leading zeros.

#NameTypeDescription
1SrcTVecsource TVec
2DstTVecsource TVec

Result: stored in self (calling object)

Remarks:

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.