unscale_matrix: Extract matrix from scaled matrix

View source: R/matrix_scaled.R

unscale_matrixR Documentation

Extract matrix from scaled matrix

Description

Extract matrix from scaled matrix

Usage

unscale_matrix(X)

Arguments

X

scaled matrix created with scale_matrix()

Examples

if (has_sympy()) {
  V <- matrix_sym(2, 2, "v")
  a <- symbol("a")
  Ks <- scale_matrix(V, a, divide = FALSE)
  Ks
  unscale_matrix(Ks)
  V %*% a
}


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