Adds a new polynomial term to the collection.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public ModelTermCollection AddPolynomial(
string key,
int degree
)
Public Function AddPolynomial (
key As String,
degree As Integer
) As ModelTermCollection
public:
ModelTermCollection^ AddPolynomial(
String^ key,
int degree
)
member AddPolynomial :
key : string *
degree : int -> ModelTermCollection
Parameters
- key
- Type: SystemString
The key of the variable. - degree
- Type: SystemInt32
The degree of the polynomial.
Return Value
Type:
ModelTermCollectionA reference to this collection, which has terms added
of the variable
key raised to the power 0
up to and including
degree.
Reference