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

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Class LinearCombination _
	Inherits Curve
C#
public class LinearCombination : Curve
C++
public ref class LinearCombination : public Curve

Methods

IconTypeDescription
Add(LinearCombination)
Adds another LinearCombination to this instance.
Add(Double, LinearCombination)
Adds a multiple of another LinearCombination to this instance.
static memberAdd(LinearCombination, LinearCombination)
Adds two linear combinations.
Clone()
Constructs an exact copy of this instance.
static memberDivide(LinearCombination, Double)
Divides a LinearCombination by a real number.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FindRoots()
Gets the set of X-coordinates where the curve crosses the X-axis.
GetCurveFitter()
Returns a CurveFitter object that can be used to fit the curve to data.
GetDerivative()
Returns a Curve that represents the derivative of this Curve.
GetHashCode()
Serves as a hash function for a particular type.
GetType()
Gets the Type of the current instance.
Integral(Double, Double)
Gets the definite integral of the curve between the specified X-coordinates.
MemberwiseClone()
Creates a shallow copy of the current Object.
static memberMultiply(Double, LinearCombination)
Multiplies a linear combination by a real number.
static memberNegate(LinearCombination)
Returns the negation of a linear combination.
OnParameterChanged(Int32, Double)
Called after a Curve parameter has been changed.
OnParameterChanging(Int32, Double)
Called before the value of a curve parameter is changed.
SlopeAt(Double)
Gets the slope of the curve at the specified X-coordinate.
Subtract(LinearCombination)
Subtracts another LinearCombination from this instance.
static memberSubtract(LinearCombination, LinearCombination)
Subtracts two linear combinations.
TangentAt(Double)
Gets the tangent Line to the curve at the specified X-coordinate.
ToString()
Returns a String that represents the current Object.
ValueAt(Double)
Gets the Y-value of the curve at the specified X-coordinate.

Constructors

IconTypeDescription
LinearCombinationNew(FunctionBasis)
Constructs a new LinearCombination object.
LinearCombinationNew(FunctionBasis, Double[]())
Constructs a new LinearCombination object.
LinearCombinationNew(FunctionBasis, Vector)
Constructs a new LinearCombination object.

Properties

IconTypeDescription
Basis
Gets the FunctionBasis associated with the linear combination.
Coefficient(Int32)
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.

Remarks

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

Inheritance Hierarchy

System.Object
  Extreme.Mathematics.Curves.Curve
    Extreme.Mathematics.Curves.LinearCombination

See Also