Skip to contents

Check Matrix

Usage

assert_square(x)

assert_symmetric(x)

Arguments

x

A matrix to be checked.

Value

Throw an error, if any, and returns x invisibly otherwise.

Author

N. Frerebeau