get_basis: Get basis

View source: R/lin_alg.R

get_basisR Documentation

Get basis

Description

Get basis

Usage

get_basis(x)

Arguments

x

caracas vector / matrix

Examples

if (has_sympy()) {
  x <- vector_sym(3)
  get_basis(x)

  W <- matrix(c("r_1", "r_1", "r_2", "r_2", "0", "0", "u_1", "u_2"), nrow=4)
  W <- as_sym(W)
  get_basis(W)
}

caracas documentation built on June 22, 2024, 10:59 a.m.