mini-calc

Releases

Version 2.12.2 : Non interactive use

2.12.2 Feb 3 2024 at 13:15 UTC

Version 2.11.6 : Fix bug

2.11.6 Nov 28 2023 at 12:12 UTC

Bug fix

  • fix bug with lup-decomposition of rationals (an abs missing)

Version 2.11.5 : Pretty print

2.11.5 Nov 27 2023 at 20:29 UTC

Bug fix

  • improve display of floats precision to 10 decimal points (with rationalization it's possible)

Pretty print matrices

  • change the way of matrices pretty printed, matrices are aligned

Version 2.11.4 : Exact rational math

2.11.4 Nov 26 2023 at 11:14 UTC

Exact math

  • add automatic rationalization of floats (with 10 decimal point of precision)

Preparation

  • preparation for litteral calculations

Bug fix

  • remove prior forgotten debug message while allocating variable

Version 2.11.3

2.11.3 Nov 26 2023 at 09:31 UTC

Matrices

-- change the matrix pretty print

Bug fix

-- fix bug when re-allocating the variable (i.e you can't)

Version 2.11.2 : Pretty print

2.11.2 Nov 24 2023 at 21:16 UTC

Matrices

  • matrices and vectors pretty print

Version 2.11.1 : Exact rational math

2.11.1 Nov 24 2023 at 16:06 UTC

Bug fix

  • Fix bug when reducing rational with two minus or two whole numbers

Modification

  • Int and not floats to the matrix inversion algorithm, so it can invert with exact values

Version 2.11.0 : Exact rational math

2.11.0 Nov 24 2023 at 14:43 UTC

Exact math

  • Added exact rational math
  • Rational operation
  • Rational reduction

Bug fix

  • fix bug with acos,asin,atan functions while vectorize

Version 2.10.0 : Add function vectorization

2.10.0 Nov 23 2023 at 11:23 UTC

Function

Add vectorization to

  • cos
  • sin
  • tan
  • cosh
  • sinh
  • tanh
  • acos
  • asin
  • atan
  • exp
  • ln/log
  • sqrt

Version 2.9.10 : Fix bug, vector plotting

2.9.10 Nov 22 2023 at 23:43 UTC

Plot

  • add vector plotting

Terminal plot

  • fix edge case by changing the coefficient a little bit
  • add vector termploting

Version 2.9.9 : Terminal plot

2.9.9 Nov 20 2023 at 22:26 UTC
  • fix bug if yscale or xscale is 0

2.9.8

2.9.8 Nov 20 2023 at 19:50 UTC
  • Test

2.9.6

2.9.6 Nov 20 2023 at 17:37 UTC
  • Adds supports for dist-upgrade

v2.9.4 Terminal plot

2.9.4 Nov 20 2023 at 12:39 UTC

Terminal plot

  • fix bug while updating ymax and ymin

v2.9.3 Terminal plot

2.9.3 Nov 20 2023 at 11:22 UTC

Terminal plot

  • fix bug with the x axis row

v2.9.2 Terminal plot

2.9.2 Nov 20 2023 at 11:12 UTC

Terminal plot

See #25

  • fix f(x) = x bug
  • add auto scaling on y axis when termplot
  • add labels on y axis

v2.9.1 Terminal Plot!

2.9.1 Nov 19 2023 at 22:06 UTC

Terminal plot

  • Add terminal ploting
    • Calculate ploting height and width
    • Computes individual points
    • Generate each line
    • Prints each line

v2.9.0 Plot!

2.9.0 Nov 19 2023 at 18:08 UTC

Plot!

  • fix bug when re-defining functions

  • added plot

  • added string

  • Plot functions (both stdlib, and runtime) would be useful and appreciated. Plotting is powered by gnuplot, it will works on Unix-like (MacOS, Linux) but I don't have any idea about Windows

  • Plot stdlib functions

  • [X] Plot runtime functions

  • Save plot to png/svg/pdf

v2.8.1 Auto-completion

2.8.1 Nov 18 2023 at 17:33 UTC
  • Auto-completion

v2.8.0 Interactive config!

2.8.0 Nov 18 2023 at 12:45 UTC

Interactive config !

  • Interact with the configuration
    • Print current config
    • Reset config to default
    • [x] Set config
      • Set main color
      • Set prompt color
      • [x] Set prompt
      • Set greeting message
      • [x] Set greeting color
    • [X] Reload config

v2.7.0 Matrix algebra

2.7.0 Nov 17 2023 at 22:46 UTC

Matrix algebra

  • Matrix calculation
    • Add matrix to the datatypes
    • Lex matrices
    • Parse matrices
    • Add matrices operation
      • Matrix addition
      • Matrix multiplication
      • Calculate the matrix determinant
      • Calculate the reverse matrix

v2.6.0 Add vector calculation !

2.6.0 Nov 16 2023 at 18:50 UTC

Vector algebra

  • Vector calculation
    • Add vectors to the datatypes
    • Lex vectors
    • Parse vectors
    • Add vector operations
      • Dot product
      • Vector norm
      • Vector addition

v2.5.1 Bug fix

2.5.1 Nov 15 2023 at 14:53 UTC
  • fix error

v2.5.0 User defined function!

2.5.0 Nov 15 2023 at 14:17 UTC

User defined function

You can define your own function

v2.4.0 : Logic!

2.4.0 Nov 15 2023 at 00:38 UTC

Logic done

  • Add logic
    • Add basic true/false
    • Add binary operator
      • or (&&)
      • and (||)
      • >=
      • >
      • <=
      • <
      • ==
    • Add unary operator
      • not (!)

v2.3.1 More function

2.3.1 Nov 14 2023 at 22:08 UTC

More functions

  • sqrt
  • factorial (aliases: fact or !)
  • abs
  • ceil
  • floor
  • round

v2.3.0 Functions!

2.3.0 Nov 14 2023 at 15:15 UTC

Functions!

  • Add support for functions
    • exp
    • ln
    • log base a
    • cos/sin/tan
    • cosh/sinh/tanh
    • atan/acos/asin

v2.2.2 Config!

2.2.2 Nov 14 2023 at 11:57 UTC

Configuration update!

v2.1.1 bug fix

2.1.1 Nov 14 2023 at 09:18 UTC

bug fix

  • reverse operation doing math

v2.1.0 : Builts in!

2.1.0 Nov 14 2023 at 09:06 UTC

Builts in!

  • pi
  • e