ModelTermCollection.AddExpression<U> Method

Adds an expression term to the collection.

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public ModelTermCollection AddExpression<U>(
	Expression<U> expression,
	params string[] keys
)

Parameters

expression  Expression<U>
An expression that can be converted to a delegate of type U.
keys  String[]
The names of the parameters used in expression.

Type Parameters

U
The equivalent delegate type of the lambda expression.

Return Value

ModelTermCollection
A reference to this collection, which has the expression term added.

See Also