mini-calc

Releases

Version 3.4.2 : Default float mode in config

3.4.2 Feb 14 2025 at 09:11 UTC

This version adds the default_float_mode entry in the mini-calc.toml configuration file.

It loads the default float mode, until now the default float mode was exact. It will be the default float mode in the config but now the user will be able to configure the default float mode they want. And it will persist between sessions.

WARNING:

This version adds something to the config, and as such it resets your config to add it, if you DON'T want your config to be overwritten add

default_float_mode = 'normal|science|exact'

To your config!

Version 3.4.1 : Scientific mode, Float mode

3.4.1 Feb 9 2025 at 09:05 UTC

This version implements the scientific mode and have revamped the float displaying system.

It adds the toggle_float <normal|science|exact> REPL command which changes the float display.

In normal mode the float is displayed with 10 decimal digits. Even when a rational solution is available. For example if you input

> 1/3 

It displays

val: float = 0.3333333333

In exact mode it displays

val: rational = 1/3 

And in science mode it displays

val: float = 3.333333333333*10⁻¹

Science mode prints with this pattern:

[0-9].[0-9]{10}\*10^(([0-9]*)|(-[0-9]*))

Version 3.3.5 : Code refactoring

3.3.5 Jan 8 2025 at 20:05 UTC

Refactoring of Code for simpler type usage

3.3.4

3.3.4 Jan 8 2025 at 13:23 UTC

Fix bug #61 and #59

3.3.3

3.3.3 Dec 1 2024 at 09:19 UTC

Version 3.3.2 : CI

3.3.2 Nov 29 2024 at 11:10 UTC

Version 3.2.0 : Differentiation #2

3.2.0 Jun 5 2024 at 19:37 UTC

Differentiates all functions

Version 3.1.0 : Differentiation #1

3.1.0 May 26 2024 at 12:19 UTC

First differentiation version, it differentiates classic and user defined polynomials

Version 3.0.1 : Bug fix

3.0.1 May 20 2024 at 12:18 UTC

Fix stackoverflow on custom function call with same name

Version 3.0.0 : Symbolic calculation!

3.0.0 May 19 2024 at 10:41 UTC

Version 3.0.0, at last! (if you've seen the PR for it it's been sitting for more than three weeks!)

Symbolic computation was added you can compute expressions with symbols (such as x,y,whatever) and more !

Version 2.13.2 : Bug fix

2.13.2 May 14 2024 at 20:19 UTC

Fix #43

Version 2.13.1 : Bug fix

2.13.1 Apr 23 2024 at 09:54 UTC

Fix the issue of the function never used (moved implementation to the test module)

Version 2.13.0 : Update!

2.13.0 Apr 22 2024 at 09:37 UTC

You can upgrade the calculator with mini-calc --update

Version 2.12.4 : Fix bug

2.12.4 Apr 22 2024 at 09:04 UTC

Fix the bug where the calculated vectors for plotting appeared when plotting

Version 2.12.3 : Piping

2.12.3 Apr 12 2024 at 21:22 UTC

Piping has been added to the calculator

Version 2.12.2 : Non interactive use

2.12.2 Feb 3 2024 at 13:15 UTC

Added non interactive use

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