Adds two Chebyshev series.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Function Add ( _ factor As Double, _ combination As LinearCombination _ ) As LinearCombination |
| C# |
|---|
public override LinearCombination Add ( double factor, LinearCombination combination ) |
| C++ |
|---|
public: virtual LinearCombination^ Add ( double factor, LinearCombination^ combination ) override |
Parameters
- factor (System.Double)
- Multiplier for combination.
- combination (Extreme.Mathematics.Curves.LinearCombination)
- The first ChebyshevSeries.
Return Value
A ChebyshevSeries that is the sum of the two operands.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | combination is nullNothingnullptr. |
| 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. |