LinearAlgebra[Generic][GenericCheck] - validate a Generic domain definition
|
Calling Sequence
|
|
GenericCheck(M[R],ops)
|
|
Parameters
|
|
M
|
-
|
the name of the procedure from which GenericCheck is being called
|
R
|
-
|
the domain of computation to check
|
ops
|
-
|
list or set of operations to check for
|
|
|
|
|
Description
|
|
•
|
The GenericCheck routine simply checks if the specified domain operations ops are defined by the input domain of computation R. No validation of what the operations actually do is performed. The M is irrelevant for the check, but it is convenient for internal use as it provides a simple interface to validate the calling sequence of the various functions in the package (all calls are indexed by the domain).
|
•
|
If the input computation domain is specified as a table, then the table indices are examined, and if defined as a module, the module exports are examined.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
>
|
|
>
|
|
| (2) |
>
|
|
|
|
Download Help Document
Was this information helpful?