ILNumerics Ultimate VS

ILMathcheck Method (InLogical, FuncInLogical, RetLogical, Boolean, String)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Checks if A is a valid parameter.

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetLogical check(
	InLogical A,
	Func<InLogical, RetLogical> evaluation = null,
	bool allowNullInput = false,
	string ErrorMessage = ""
)

Parameters

A
Type: ILNumericsInLogical
Input array.
evaluation (Optional)
Type: SystemFuncInLogical, RetLogical
[Optional] Evaluation function, checks input parameter and transforms it into result, gets only called for A other than null.
allowNullInput (Optional)
Type: SystemBoolean
[Optional] Only if A is null -> for true: returns null, false: throws exception.
ErrorMessage (Optional)
Type: SystemString
[Optional] Exception message. Default: empty string.

Return Value

Type: RetLogical
Result of calling evaluation(A) or A.
Exceptions

ExceptionCondition
ArgumentExceptionIf A was null on entry and allowNullInput is false.
Remarks

[ILNumerics Computing Engine]

See Also

Reference