dim-set-.caracas_symbol: Dimensions of a caracas symbol

dim<-.caracas_symbolR Documentation

Dimensions of a caracas symbol

Description

Dimensions of a caracas symbol

Usage

## S3 replacement method for class 'caracas_symbol'
dim(x) <- value

Arguments

x

caracas symbol

value

new dimension

Examples

if (has_sympy()) {
  v <- vector_sym(4)
  v
  dim(v)
  dim(v) <- c(2, 2)
  v
  m <- matrix_sym(2, 2)
  dim(m)
  dim(m) <- c(4, 1)
  m
}


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