R/lin_alg.R
rankMatrix_.Rd
Rank of matrix
rankMatrix_(x)
Numeric or symbolic matrix
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) } #> c: ⎡x₁ x₃⎤ #> ⎢ ⎥ #> ⎢x₁ x₄⎥ #> ⎢ ⎥ #> ⎢x₁ x₃⎥ #> ⎢ ⎥ #> ⎣x₁ x₄⎦