Cat Calculator

Add, sub, mul, div, mod, power, sigma, vector, matrix, sin, cos, tan, log, etc...

Blackboard

Input: Math formula

Output: Math formula calculate result

Usage

Operators

Arithmetic operations (+-*/), Mod (%), Power (^)

Can change calculate priority by parentheses.

If you want to output calculate results then use "print".

Example: print 1 + x^2

Math functions

log, sin, cos, tan, round, ceil, floor

Example: print ceil(3.14)

Constant numbers

pi, PI

Sum

Sigma: Σ

Example: print Σ[k=1, 3] 2k

Vector

Example: A↑ = [1, 2, 3]

Matrix

Example:print [1, 2] * [[1, 2], [3, 4]]

Example:print [[1, 2], [3, 4]] * [[5, 6], [7, 8]]

Update history

2024-07-22: v0.3.0: Matrix, Vector

2024-07-20: v0.2.0: Sigma, Blackboard for div , log

2024-07-17: v0.1.0: Published

Opinions/impressions form