ChebyshevSeries.Add Method

Definition

Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

Add(LinearCombination) Adds another LinearCombination to this instance.
Add(Double, LinearCombination) Adds two Chebyshev series.

Add(Double, LinearCombination)

Adds two Chebyshev series.
C#
public override LinearCombination Add(
	double factor,
	LinearCombination combination
)

Parameters

factor  Double
Multiplier for combination.
combination  LinearCombination
The first ChebyshevSeries.

Return Value

LinearCombination
A ChebyshevSeries that is the sum of the two operands.

Exceptions

ArgumentNullException

combination is null.

InvalidCastException

combination is not a Chebyshev series.

ArgumentException

combination is not an instance of ChebyshevSeries.

-or-

The Chebyshev series represented by this instance and combination are defined over different intervals.

-or-

The Degree of combination is greater than the maximum degree of this instance.

See Also