Skip to content
Brian Braga Cavalcante edited this page Jul 11, 2024 · 5 revisions

MathFox


A library with math functions to help Python developers with their projects.

In total, we have 44 functions, 1 variable and 2 class!

GitHub License PyPI - Version Python Version GitHub commit activity (branch) PyPI - Downloads

Static Badge

πŸ”— MathFox link on:

Static Badge Static Badge


πŸ“š Versions

  • v1.1.2b1 ⚠️ LATTER. --- Addition of new statistical functions such as median(), mode(), std() and var(), and a new function that is hypotenuse(). We renamed some categories, such as calculation to cal, geometry to geo and trigonometry to trigo, and some functions such as arcsin(), arccos() and arctan(). We also added a new class which is Decimal() and a function which is array() which is under development, so its use is not recommended.

  • v1.1.1 πŸ”’ RECOMMENDED --- improvement of trigonometric functions and addition of the cot(), sec() and csc() functions, in addition to the radians() and degrees() function which is in the calculation category

  • v1.1.0 --- Removal of the sumlist() function, creation of the Fraction() class, renaming of the isfloat() function to isdecimal() and math category for calculation category, creation of a new category in the calculation category, which is geometry, within it will be the area category (which has been redefined), and the trigonometry category, which will have, in addition to the sin(), cos() and tan() functions, it will have the asin(), acos() and atan() functions.

  • v1.0.2 --- Correction of the chance() function, improvement of the isint() and isfloat() functions, creation of more decent documentation.

  • v1.0.0 --- Library creation.


πŸ’‘ Tip

When importing MathFox in the code, import it by calling it mf. Ex.:

import mathfox as mf

⛓️ Library structure

  • mathfox
    • cal
      • geo
        • area
          • two_dimensions
          • three_dimensions
        • trigo
    • number
    • numis

πŸš€ Goal

  • Creation of the Decimal class
  • Update the PI function
  • Improve classes
  • Integration with physics functions
  • Create the Object class

πŸ’Ύ Installation

PIP

Open CMD and write:

pip install --upgrade mathfox

Beta

pip install --upgrade --pre mathfox

Git

  1. Open CMD and write:
git clone https://github.com/BrianBragaCavalcante/MathFox
  1. Go to the MathFox folder:
cd mathfox
  1. Now run the installer:
python install.py

MathFox

Clone this wiki locally