LinearCombination Class

Represents a curve that is a linear combination of the functions in a FunctionBasis.

Definition

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[SerializableAttribute]
public class LinearCombination : Curve
Inheritance
Object  →  Curve  →  LinearCombination
Derived

Remarks

Use the LinearCombination class to represent functions that are a linear combination of a set of basis functions in a FunctionBasis.

Constructors

LinearCombination(FunctionBasis) Constructs a new LinearCombination object.
LinearCombination(FunctionBasis, Vector<Double>) Constructs a new LinearCombination object.
LinearCombination(FunctionBasis, Double[]) Constructs a new LinearCombination object.

Properties

Basis Gets the FunctionBasis associated with the linear combination.
Coefficient Gets or sets the coefficient of the function with the specified index.
Parameters Gets the collection of parameters that determine the shape of this Curve.
(Inherited from Curve)

Methods

Add(LinearCombination) Adds another LinearCombination to this instance.
Add(Double, LinearCombination) Adds a multiple of another LinearCombination to this instance.
Add(LinearCombination, LinearCombination) Adds two linear combinations.
Clone Constructs an exact copy of this instance.
(Inherited from Curve)
Divide Divides a LinearCombination by a real number.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FindRoots Gets the set of X-coordinates where the curve crosses the X-axis.
(Inherited from Curve)
GetCurveFitter Returns a CurveFitter object that can be used to fit the curve to data.
(Overrides Curve.GetCurveFitter())
GetDerivative Returns a Curve that represents the derivative of this Curve.
(Inherited from Curve)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Integral Gets the definite integral of the curve between the specified X-coordinates.
(Inherited from Curve)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Multiply Multiplies a linear combination by a real number.
Negate Returns the negation of a linear combination.
OnParameterChanged Called after a Curve parameter has been changed.
(Inherited from Curve)
OnParameterChanging Called before the value of a curve parameter is changed.
(Inherited from Curve)
SetParameter Sets a curve parameter to the specified value.
(Inherited from Curve)
SlopeAt Gets the slope of the curve at the specified X-coordinate.
(Overrides Curve.SlopeAt(Double))
Solve Finds the x value where the curve reaches the specified y value.
(Inherited from Curve)
Subtract(LinearCombination) Subtracts another LinearCombination from this instance.
Subtract(LinearCombination, LinearCombination) Subtracts two linear combinations.
TangentAt Gets the tangent line to the curve at the specified X-coordinate.
(Inherited from Curve)
ToStringReturns a string that represents the current object.
(Inherited from Object)
ValueAt Gets the Y-value of the curve at the specified X-coordinate.
(Overrides Curve.ValueAt(Double))

See Also