Linear Combination<T> Class
Represents a curve that is a linear combination of the
functions in a FunctionBasis<T>.
Definition
Namespace: Numerics.NET.Curves.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
C#
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
[SerializableAttribute]
public class LinearCombination<T> : Curve<T>
where T : Object, INumberBase<T>
- Derived
Type Parameters
- T
Remarks
Use the LinearCombination<T> class to represent functions that are a linear combination of a set of basis functions in a FunctionBasis<T>.
Constructors
Linear | Constructs a new LinearCombination<T> object. |
Linear | Constructs a new LinearCombination<T> object. |
Linear | Constructs a new LinearCombination<T> object. |
Properties
Basis | Gets the FunctionBasis<T> 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<T>) |
Methods
Add( | Adds another LinearCombination<T> to this instance. |
Add( | Adds a multiple of another LinearCombination<T> to this instance. |
Add( | Adds two linear combinations. |
Clone |
Constructs an exact copy of this instance.
(Inherited from Curve<T>) |
Divide | Divides a linear combination by a real number. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
Find |
Gets the set of X-coordinates where the curve crosses
the X-axis.
(Inherited from Curve<T>) |
Get |
Returns a CurveFitter object that can be used to fit the curve to data.
(Overrides Curve<T>.GetCurveFitter()) |
Get |
Returns a Curve that represents the derivative
of this Curve.
(Inherited from Curve<T>) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets 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<T>) |
Memberwise | Creates 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. |
OnParameter |
Called after a Curve parameter has been changed.
(Inherited from Curve<T>) |
OnParameter |
Called before the value of a curve parameter is changed.
(Inherited from Curve<T>) |
Set |
Sets a curve parameter to the specified value.
(Inherited from Curve<T>) |
Slope |
Gets the slope of the curve at the specified
X-coordinate.
(Overrides Curve<T>.SlopeAt(T)) |
Solve |
Finds the x value where the curve reaches the specified y value.
(Inherited from Curve<T>) |
Subtract( | Subtracts another LinearCombination<T> from this instance. |
Subtract( | Subtracts two linear combinations. |
Tangent |
Gets the tangent line to the curve at the
specified X-coordinate.
(Inherited from Curve<T>) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Value |
Gets the Y-value of the curve at the specified
X-coordinate.
(Overrides Curve<T>.ValueAt(T)) |