Click or drag to resize

LinearApproximation Methods

The LinearApproximation type exposes the following members.

Methods
  NameDescription
Protected methodCheckForSameDefinition(InterpolationAlgorithm)
Checks to determine if another instance has the same definition as this instance and returns if it does. Derived classes MUST override this method and check all new fields introduced by the derived class for definitional equivalence. It is NOT necessary to check base class fields because the base class will already have done that. When overriding this method, you should NOT call the base implementation because it will return for all derived-class instances. Derived classes should check the type of other to preserve the symmetric nature of IsSameDefinition(Object).
(Overrides InterpolationAlgorithmCheckForSameDefinition(InterpolationAlgorithm).)
Protected methodCheckForSameDefinition(LinearApproximation)
Checks to determine if another instance has the same definition as this instance and returns if it does. Derived classes MUST override this method and check all new fields introduced by the derived class for definitional equivalence. It is NOT necessary to check base class fields because the base class will already have done that. When overriding this method, you should NOT call the base implementation because it will return for all derived-class instances. Derived classes should check the type of other to preserve the symmetric nature of IsSameDefinition(Object).
Public methodClone
Clones this object using the specified context.
(Overrides InterpolationAlgorithmClone(CopyContext).)
Protected methodComputeCurrentDefinitionHashCode
Computes a hash code based on the current properties of this object. Derived classes MUST override this method and compute a hash code that combines: a unique hash code seed, the base implementation result, and the hash codes of all new fields introduced by the derived class which are used in the CheckForSameDefinition(InterpolationAlgorithm) method.
(Overrides InterpolationAlgorithmComputeCurrentDefinitionHashCode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDefinitionHashCode
Gets a hash code representing the definition of this object.
(Inherited from InterpolationAlgorithm.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRequiredDataPoints
Returns two.
(Overrides InterpolationAlgorithmGetRequiredDataPoints(Int32, Int32).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInterpolate(Double, Double, Double, Double, Double)
Interpolate method that can be called with the coordinates of the 2 points and the independent variable to be interpolated.
Public methodInterpolate(Double, Double, Double, Int32, Int32, Int32)
Interpolates values using this interpolation algorithm.
(Inherited from InterpolationAlgorithm.)
Public methodInterpolate(Double, Double, Double, Int32, Int32, Int32, Int32, Int32)
Interpolates a dependent value corresponding to an independent value when supplied 2 distinct independent values and at least 1 dependent value per independent value.
(Overrides InterpolationAlgorithmInterpolate(Double, Double, Double, Int32, Int32, Int32, Int32, Int32).)
Public methodInterpolateWithDegree
Interpolates values using this interpolation algorithm. The appropriate subset of input values to use for the interpolation is determined automatically from an interpolation given degree.
(Inherited from InterpolationAlgorithm.)
Public methodIsSameDefinition
Determines if this object has the same definition as another object.
(Inherited from InterpolationAlgorithm.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also