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

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/is.skew.symmetric.R

Description

Check whether a square matrix is skew-symmetric.

Usage

1

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

cholesky, cora, cova

Examples

1
2
3
4
5
6
7
x <-matrix( rnorm( 100 * 400), ncol = 400 )
s1 <- cor(x)
is.skew.symmetric(s1)
x <- x[1:100, ]
is.skew.symmetric(x)

x<-s1<-NULL

Rfast2 documentation built on March 22, 2021, 9:08 a.m.