ModelTermCollection.AddPolynomial Method

Adds a new polynomial term to the collection.

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public ModelTermCollection AddPolynomial(
	string key,
	int degree
)

Parameters

key  String
The key of the variable.
degree  Int32
The degree of the polynomial.

Return Value

ModelTermCollection
A reference to this collection, which has terms added of the variable key raised to the power 0 up to and including degree.

See Also