Some symbolic functions for lazy boys and girls


[Up] [Top]

Documentation for package ‘lazy.symbolic’ version 0.1.4

Help Pages

%/.% Mathematica like postfix replacement
%@% matKTimes operator for Kronecker Product
%m% Minus operator for Elementwise Difference
%p% Plus operator for Elementwise Sum
%T% matTimes operator for Matrix Product
analyze_expr Decompose an Expression into Additive Terms and Multiplicative Factors
Det Determinant of a Symbolic Matrix by Sweeping
Eval Evaluate Symbolic Matrix after Replacement
Expand Expand Expressions by Distributing a Multiplicative Factor
find_a_term Find a term separated by a multiplicative operator
find_factors Decompose a Term into Multiplicative Factors separated by ' *, /, %*%, %\@%'.
find_terms Decompose an Expression into Additive Terms separated by '+' or '-'
find_varfunc Find Variables and Functions in an Expression
gen_random_expr Generate Random Expression
Gsub Use Friendly Gsub (deprecated as of 2023.05.13)
Inv Matrix Inversion by Sweep Operator
is_solo Check if the input is a single object
is_valid Check If the Input Expression is Valid
KP Symbolic Expression of the i-j element of the Kronecker Product
lazy.symbolic lazy.symbolic: Collection of some useful symbolic tools for lazy boys and girls
map Map function to each element of exp
mark_soper Mark Special Operator by Single Alpha
mat2sum Express the i-j element of an Matrix Expression using Summation Operators
matKTimes Symbolic Kronecker Product
matReplace Replace the Elements of a Symbolic Matrix
matSweep Symbolic Matrix Sweep Operator
matTimes Symbolic Multiplication of Two or More Matrices
Minus Difference of Two or More Symbolic Expressions
nterms Count the Number of Terms in an Expression
Plus Sum of Two or More Symbolic Expression
Prod Symbolic Product of All the Elements
Simplify Simplify Symbolic Expressions (very primitive version)
Sum Symbolic Sum of All the Elements
sumEval Evaluate Summation:
sumExpand Expand (Distribute) summation
suminfo Information of Nested Summations
sumMoveIn Move summation to the right
sumSimplify Simplify an expression containing summation
Times Elementwise Multiplication of Two or More Symbolic Vectors/Matrices
tp Transposition of a Fully Symbolic Partitioned Matrix
tr trace of the input matrix
tr2vecK Conversion of the Trace of the Product of Several Matrices using vec operator and Kronecker Product #'
unmark_soper Recover the Marked Special Operators
vec2vecK Conversion of the vec of Matrix Product using vec operator and Kronecker Product