ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Result of calling evaluation(A) or A.
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: RetLogicalResult of calling evaluation(A) or A.
Exceptions
Exception | Condition |
---|---|
ArgumentException | If A was null on entry and allowNullInput is false. |
Remarks
[ILNumerics Computing Engine]
See Also