ModelTermCollection Constructor

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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