rankMatrix_: Rank of matrix

View source: R/lin_alg.R

rankMatrix_R Documentation

Rank of matrix

Description

Rank of symbolic or numeric matrix.

Usage

rankMatrix_(x, tol = NULL)

Arguments

x

Numeric or symbolic matrix.

tol

Tolerence, only relevant for a numeric matrix.

Examples

if (has_sympy()) {
  X <- matrix_(paste0("x_",c(1,1,1,1,2,2,2,2,3,4,3,4)), nrow=4)
  X
  rankMatrix_(X)
  colspan(X)
}

r-cas/caracas documentation built on Feb. 28, 2025, 3:39 p.m.