predicate-matrix: Matrix Predicates

predicate-matrixR Documentation

Matrix Predicates

Description

  • is_square() checks if a matrix is square.

  • is_symmetric() checks if a matrix is symmetric.

Usage

is_square(x)

is_symmetric(x)

Arguments

x

A matrix to be tested.

Value

A logical scalar.

See Also

Other predicates: is_scalar, predicate-numeric, predicate-trend, predicate-type, predicate-utils


nfrerebeau/codex documentation built on Feb. 24, 2024, 11:58 a.m.