is.skew.symmetric: Check whether a square matrix is skew-symmetric

View source: R/utilty_functions_for_matrices.R

Check whether a square matrix is skew-symmetricR Documentation

Check whether a square matrix is skew-symmetric

Description

Check whether a square matrix is skew-symmetric.

Usage

is.skew.symmetric(x)

Arguments

x

A square matrix with data.

Details

Instead of going through the whole matrix, the function will stop if the first disagreement is met.

Value

A boolean value, TRUE of FALSE.

Author(s)

Manos Papadakis.

R implementation and documentation: Manos Papadakis papadakm95@gmail.com.

See Also

is.lower.tri, lud

Examples

x <-matrix( rnorm( 10 * 40), ncol = 40 )
s1 <- cor(x)
is.skew.symmetric(s1)
x <- x[1:10, ]
is.skew.symmetric(x)

x<-s1<-NULL

Rfast2 documentation built on April 11, 2025, 6:15 p.m.