ModelTerm.Polynomial Method

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Polynomial(ModelTerm, Int32) Creates a model term that represents a polynomial in the specified term.
Polynomial(String, Int32) Constructs a term corresponding to a polynomial.

Polynomial(ModelTerm, Int32)

Creates a model term that represents a polynomial in the specified term.
C#
public static ModelTerm Polynomial(
	ModelTerm term,
	int degree
)

Parameters

term  ModelTerm
A term.
degree  Int32
The degree of the polynomial.

Return Value

ModelTerm
A polynomial term.

Polynomial(String, Int32)

Constructs a term corresponding to a polynomial.
C#
public static ModelTerm Polynomial(
	string key,
	int degree
)

Parameters

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

Return Value

ModelTerm
A model term that corresponds to a polynomial of degree degree in key.

See Also