caracas2.1.1 package

Computer Algebra

add_prefix

Add prefix to each element of matrix

all_vars

All variables

apart

Partial fraction decomposition on a rational function

as.character.caracas_symbol

Convert symbol to character

as_character

Coerce symbol to character

as_character_matrix

Get matrix as character matrix

as_diag

Construct diagonal matrix from vector

as_expr

Convert caracas object to R

as_func

Convert expression into function object.

as_sym

Convert R object to caracas symbol

as_vec

Stacks matrix to vector

ask

Ask for a symbol's property

cancel

Put rational function into standard form

collect

Collects common powers of a term in an expression

colspan

Column space (range) of a symbolic matrix

cumsum.caracas_symbol

Cumulative Sums

def_sym

Define (invisibly) caracas symbols in global environment

der

Symbolic differentiation of an expression

der2

Symbolic differentiation of second order of an expression

diag-set-.caracas_symbol

Replace diagonal

diag-set

Replace matrix diagonal

diag.caracas_symbol

Matrix diagonal

diag

Matrix diagonal

diag_

Symbolic diagonal matrix

diff_mat

Difference matrix

dim-set-.caracas_symbol

Dimensions of a caracas symbol

dim.caracas_symbol

Dimensions of a caracas symbol

do_la

Do linear algebra operation

doit

Perform calculations setup previously

drop_remainder

Remove remainder term

eval_to_symbol

Create a symbol from a string

expand

Expand expression

expand_func

Expand a function expression

expand_log

Expand a logarithmic expression

expand_trig

Expand a trigonometric expression

factor_

Expand expression

fraction_parts

Get numerator and denominator of a fraction

free_symbols

Get free symbol in expression

generic-matrices

Generate generic vectors and matrices

get_basis

Get basis

get_py

Access 'py' object

get_sympy

Access 'SymPy' directly

has_sympy

Check if 'SymPy' is available

install_sympy

Install 'SymPy'

int

Integrate a function

is_sym

Is object a caracas symbol

jacobian

Compute Jacobian

kronecker-caracas_symbol-caracas_symbol-method

Kronecker product of two matrices

lim

Limit of a function

linalg

Do linear algebra operation

listify

Convert object to list of elements

ls_sym

List defined symbols

mat_pow

Matrix power

Math.caracas_symbol

Math functions

matrify

Creates matrix from array symbol

matrix-products

Matrix multiplication

matrix_

Symbolic matrix

matrix_cross_product

Matrix cross product

N

Numerical evaluation

Ops.caracas_symbol

Math operators

pipe

Pipe

print.caracas_scaled_matrix

Print scaled matrix

print.caracas_solve_sys_sol

Print solution

print.caracas_symbol

Print symbol

prod_

Product of a function

rankMatrix_

Rank of matrix

reciprocal_matrix

Elementwise reciprocal matrix

rowSums_colSums

Form Row and Column Sums

scale_matrix

Create list of factors as in a product

score_hessian

Score and Hessian matrix

simplify

Simplify expression

solve.caracas_symbol

Solve a System of Linear Equations

solve_lin

Solve a linear system of equations

solve_sys

Solves a system of non-linear equations

special_matrices

Special matrices: zeros_sym, ones_sym, eye_sym

sub-.caracas_symbol

Extract or replace parts of an object

subs

Substitute symbol for value

subset-.caracas_symbol

Extract or replace parts of an object

sum.caracas_symbol

Summation

sum_

Sum of a function

sym_class

Ask type of caracas symbol

sym_inherits

Ask if type of caracas symbol is of a requested type

symbol

Create a symbol

symbol_class

Ask type of caracas symbol

symbol_is_matrix

Check if object is a caracas matrix

sympy_func

Call a SymPy function directly on x

sympy_version

Get 'SymPy' version

t.caracas_symbol

Transpose of matrix

taylor

Taylor expansion

tex.caracas_scaled_matrix

Export scaled matrix to tex

tex

Export object to TeX

texshow

Dump latex representation of sympy object.

to_something

Coerce caracas object

tuplify

Convert object to tuple

unbracket

Remove inner-most dimension

unscale_matrix

Extract matrix from scaled matrix

vectorfy

Creates symbol vector from list of caracas symbols

Computer algebra via the 'SymPy' library (<https://www.sympy.org/>). This makes it possible to solve equations symbolically, find symbolic integrals, symbolic sums and other important quantities.

  • Maintainer: Mikkel Meyer Andersen
  • License: GPL
  • Last published: 2023-11-30