special_matrices: Special matrices: zeros_sym, ones_sym, eye_sym

special_matricesR Documentation

Special matrices: zeros_sym, ones_sym, eye_sym

Description

Special matrices: zeros_sym, ones_sym, eye_sym

Usage

zeros_sym(nrow, ncol)

ones_sym(nrow, ncol)

eye_sym(nrow, ncol)

Arguments

nrow, ncol

Number of rows and columns of output

See Also

diag_(), matrix_sym(), vector_sym()

Examples


if (has_sympy()){
  zeros_sym(3, 4)
  ones_sym(3, 4)
  eye_sym(3, 4)
}


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