You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TPiecePoly Class > TPiecePoly Properties > TPiecePoly.ValuesSorted Property
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TPiecePoly.ValuesSorted Property

Defines if X Values are sorted.

Syntax
C#
Visual Basic
public bool ValuesSorted;

If X Values defining the interpolation points are sorted, but the Breaks are not equidistant (BreaksEquidistant is false), the Evaluate routine will use a consecutive linear search algorithm to find the right breaks interval. The linear search for each X-Value will continue from the point where it left off for the previous one. If X Values are not sorted, the ValuesSorted must be set to false. A bisection search algorithm will be employed in that case.

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