Skip to contents

Test for square matrix

Test for square, symmetric matrix

Test for orthogonal matrix

Usage

is_square_matrix(x)

is_symmetric_matrix(x)

is_orthogonal_matrix(x)

Arguments

x

A numeric matrix

Value

TRUE if x is a square matrix, else FALSE

TRUE if x is a square, symmetric matrix, else FALSE

TRUE if x is an orthogonal matrix, else FALSE