valid: Validity methods

Description Usage Arguments Details Value Author(s) Examples

Description

Validity methods, to check that objects are well-formed

Usage

1
2
3
4
5
6
7
8
9

Arguments

object

Putative jordan object

r

Integer, number of rows in putative jordan object

Details

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.

Value

Return a Boolean

Author(s)

Robin K. S. Hankin

Examples

1
2
 is_ok_qhm(45)   # 5x5 Hermitian quaternionic matrices
#is_ok_qhm(46)   # FALSE

jordan documentation built on April 8, 2021, 5:06 p.m.