NEWS.md
print(..., method = "compactascii")
: column vector as transposed row vector and handling caracas_scaled_matrix
LUdecomposition()
, chol()
(Cholesky), svd_()
(Singular Value decomposition) added.cumsum()
added.as.expression()
(alias for as_expr()
) and as.function()
(alias for as_func()
) cf. #75knitr
engine rtex
(see vignette “Chunk engine for easy tex output in Rmarkdown and Quarto”)as_expr.caracas_solve_sys_sol
inv()
by default uses gauss
like SymPykronecker()
, rep()
addedsolve()
now dispatches on caracas_symbols and works like solve_lin()
scale_matrix()
can construct matrix-scalar products for prettier outputprint(..., method = "compactascii")
as prettyascii
except more compact matrices by removing empty rowssolve_sys()
result printing when there is only one unknownsubs()
- see documentation. subs_lst()
removed.utf8
, prettyascii
or ascii
) to one argument and one option, i.e. options(caracas.print.method = 'prettyascii')
and print(x, method = "prettyascii")
(default is utf8
)as_func()
dim()<-
assignment for caracas
matricesvector_sym()
, matrix_sym()
, matrix_sym_diag()
, matrix_sym_symmetric()
colspan()
(Column space (range) of a symbolic matrix)get_basis()
Get basis for symbolic matrix / vector.all_vars
Get all symbols in caracas symbol.matrify()
now works on atomic elements.def_sym_vec()
defines symbol for each element in a character vector.jacobian()
function added.zeros()
, ones()
, eye()
added.diff_mat()
added.crossprod_()
, tcrossprod_()
added.sympy_func(x, fun)
first tries calling fun
on x
; and if it does not exist it tries from the global namespacemat_pow()
for raising a matrix to a power (not component-wise), requires SymPy >= 1.6expand_func()
addedrev()
for caracas_symbol
’sOps
(functions) fixedoptions(caracas.print.prettyascii = TRUE)
) instead of UTF-8, if the system locale is not UTF-8; this be disabled with options(caracas.print.prettyascii = FALSE)
def_sym()
(#18)do_la()
function with convinience functions like eigenval()
, eigenvec()
, QRdecomposition()
; new vignette demonstrating thesesymbol()
and ask()
N()
function and vignette on “Arbitrary precision arithmetic”eigen_val()
/eigen_vec()
to eigenval()
/eigenvec()
as_r()
was renamed to as_expr()
and as_symbol()
to as_sym()
. Also, as_sym()
changed argument from declare_variables
to declare_symbols
.der()
, der2()
and solve_sys()
now takes multiple variables with list()
(or as a vector symbol) instead of c()
; see also matrify()
and listify()
diag_()
and matrix_()
(postfix _
to avoid name clashes)sumf()
renamed to sum_()
and prodf()
to prod_()
(postfix _
to avoid name clashes)intf()
renamed to int()
and limf()
to lim()
(because there are no name clashes with base R)sympy_func()
taylor()
and drop_remainder()