Click or drag to resize

VectorSpacingEvaluator Class

Statistics of the spacing between adjacent vector elements. The spaces are defined in the forward direction, i.e. as vec[i+1]-vec[i].
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.LinearAlgebraVectorSpacingEvaluator

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class VectorSpacingEvaluator

The VectorSpacingEvaluator type exposes the following members.

Constructors
 NameDescription
Public methodVectorSpacingEvaluator Constructor. Takes an read only vector and evaluates the spaces between the vector elements.
Top
Properties
 NameDescription
Public propertyHasInvalidSpaces True if there are invalid spaces, i.e. vector elements that are not numbers.
Public propertyHasValidSpaces Returns true if the vector has at least one valid space. This is fulfilled if there is one adjacent pair of vector elements, which are both valid numbers.
Public propertyIsMonotonicallyDecreasing True if all elements are mononton decreasing and there are no invalid spaces.
Public propertyIsMonotonicallyIncreasing True if all elements are mononton increasing and there are no invalid spaces.
Public propertyIsStrictlyEquallySpaced True if all elements are strictly equally spaced. Due to the limited accuracy of floating point arithmetic, this is in generally only fulfilled when having integer vector elements. Otherwise, please use RelativeSpaceDeviation to calculate the space deviation.
Public propertyIsStrictlyMonotonicDecreasing True if all elements are strongly mononton decreasing and there are no invalid spaces.
Public propertyIsStrictlyMonotonicIncreasing True if all elements are strongly mononton increasing and there are no invalid spaces.
Public propertyRelativeSpaceDeviation Calculates the relative deviation of spaces. The return value is a positive number, which indicates the relative space deviation. In case the deviation is undefined, the return value is PositiveInfinity.
Public propertySpaceMeanValue Returns the mean value of the valid spaces.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also