is_symmetric_cpp: C++ implementation to check if a matrix is symmetric

Description Usage Arguments Value

View source: R/RcppExports.R

Description

C++ implementation to check if a matrix is symmetric

Usage

1
is_symmetric_cpp(m, tol = 1e-12)

Arguments

m

A matrix to check.

tol

A Numeric scalar >= 0. Differences smaller than tol are ignored.

Value

Returns TRUE if the matrix is symmetric and FALSE otherwise.


tgrimes/SeqNet documentation built on Sept. 1, 2020, 7:50 a.m.