ChebyshevSeries<T>.Add Method

Definition

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

Overload List

Add(LinearCombination<T>) Adds another LinearCombination<T> to this instance.
Add(T, LinearCombination<T>) Adds two Chebyshev series.

Add(T, LinearCombination<T>)

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

Parameters

factor  T
Multiplier for combination.
combination  LinearCombination<T>
The first ChebyshevSeries.

Return Value

LinearCombination<T>
A ChebyshevSeries that is the sum of the two operands.

Exceptions

ArgumentNullExceptioncombination is null.
InvalidCastExceptioncombination is not a Chebyshev series.
ArgumentExceptioncombination 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