
Last chance! 50% off unlimited learning
Sale ends in
Check Matrix
assert_square(x)assert_symmetric(x)
Throw an error, if any, and returns x
invisibly otherwise.
A matrix
to be checked.
N. Frerebeau
Other validation methods:
assert_constant()
,
assert_data
,
assert_length()
,
assert_lower()
,
assert_names()
,
assert_numeric
,
assert_package()
,
assert_type()
,
validate()