is_symmetric_cpp {SeqNet}R Documentation

C++ implementation to check if a matrix is symmetric

Description

C++ implementation to check if a matrix is symmetric

Usage

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.


[Package SeqNet version 1.1.3 Index]