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.


SeqNet documentation built on July 9, 2021, 9:08 a.m.