valid | R Documentation |
Validity methods, to check that objects are well-formed
valid_rsm(object)
valid_chm(object)
valid_qhm(object)
valid_albert(object)
is_ok_rsm(r)
is_ok_chm(r)
is_ok_qhm(r)
is_ok_albert(r)
is_ok_rsm(r)
object |
Putative jordan object |
r |
Integer, number of rows in putative jordan object |
Validity methods. The validity_foo()
functions test for an object
to be the right type, and the is_ok_foo()
functions test the
number of rows being appropriate for a jordan object of some type; these
functions return an error if not appropriate, or, for
jordan_matrix
objects, the size of the matrix worked with.
Return a Boolean
Robin K. S. Hankin
is_ok_qhm(45) # 5x5 Hermitian quaternionic matrices
#is_ok_qhm(46) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.