Learn R Programming

matlib (version 1.0.0)

is_square_matrix: Test for square matrix

Description

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)

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

Arguments

x

A numeric matrix