ModelTermCollection Constructor

Definition

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

Overload List

ModelTermCollection(Int32) Constructs a new model term collection with the specified capacity.
ModelTermCollection(IList<ModelTerm>, Boolean) Constructs a new collection from the specified terms.
ModelTermCollection(ModelTerm, Boolean) Constructs a new collection from a single term.

ModelTermCollection(Int32)

Constructs a new model term collection with the specified capacity.
C#
public ModelTermCollection(
	int capacity
)

Parameters

capacity  Int32
The required capacity.

ModelTermCollection(IList<ModelTerm>, Boolean)

Constructs a new collection from the specified terms.
C#
public ModelTermCollection(
	IList<ModelTerm> terms,
	bool constant = true
)

Parameters

terms  IList<ModelTerm>
A parameter array of terms.
constant  Boolean  (Optional)
Indicates whether a constant term should be included.

ModelTermCollection(ModelTerm, Boolean)

Constructs a new collection from a single term.
C#
public ModelTermCollection(
	ModelTerm term,
	bool constant = false
)

Parameters

term  ModelTerm
A model term.
constant  Boolean  (Optional)
Indicates whether a constant term should be included.

See Also