A comprehensive mathematical computation toolkit implemented in Make, offering advanced features for calculus, algebra, geometry, statistics, and trigonometry.
mathlab/
├── lib/
│ ├── calc.mk # Calculus operations
│ ├── alg.mk # Algebra & matrix operations
│ ├── geo.mk # Geometry calculations
│ ├── stats.mk # Statistical functions
│ └── trig.mk # Trigonometric operations
├── util/
│ ├── const.mk # Mathematical constants
│ └── helper.mk # Utility functions
└── run.mk # Main execution file
- Derivatives (Power rule, Chain rule)
- Integrals
- Limits
- Taylor series
- Partial derivatives
- Matrix operations (multiplication, addition, determinant)
- Polynomial solving
- Sequence and series calculations
- Circle & sphere computations
- Triangle operations
- Vector calculations
- Distance formulas
- Mean, median, and variance
- Standard deviation
- Permutations & combinations
- Probability calculations
- Basic trigonometric functions (sin, cos, tan)
- Inverse trigonometric functions
- Hyperbolic functions
- Unix-like operating system (Linux/MacOS)
- GNU Make
- BC (Basic Calculator)
-
Clone the repository:
git clone https://github.com/sazumivicky/mathlab.git cd mathlab
-
Ensure you have the required dependencies:
# For Debian/Ubuntu sudo apt-get install make bc # For MacOS brew install make bc
Run all tests:
make -f run.mk
Run specific tests:
make -f run.mk test # Basic tests
make -f run.mk advanced # Advanced calculations
$(call def_dx,2,x)
$(call mat_mult,2 3,4 5)
$(call circle_area,5)
$(call vec_mag,3,4,0)
$(call prob,3,6)
- Fork the project
- Create your feature branch (
git checkout -b feature/example
) - Commit your changes (
git commit -m 'Add some example'
) - Push to the branch (
git push origin feature/example
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Sazumi Viki - Initial work - SazumiVicky
- Inspired by advanced mathematical computations
- Thanks to the Make and BC development communities
- Special thanks to all contributors
Sazumi Viki - root@sazumi.moe
Project Link: https://github.com/sazumivicky/mathlab
⌨️ with ❤️ by Sazumi Viki