Skip to content

A comprehensive mathematical computation toolkit implemented in Make, offering advanced features for calculus, algebra, geometry, statistics, and trigonometry.

License

Notifications You must be signed in to change notification settings

SazumiVicky/mathlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧮 MathLab: Advanced Mathematical Computation Toolkit

A comprehensive mathematical computation toolkit implemented in Make, offering advanced features for calculus, algebra, geometry, statistics, and trigonometry.


📁 Project Structure

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

🚀 Features

🧮 Calculus

  • Derivatives (Power rule, Chain rule)
  • Integrals
  • Limits
  • Taylor series
  • Partial derivatives

🔢 Algebra

  • Matrix operations (multiplication, addition, determinant)
  • Polynomial solving
  • Sequence and series calculations

📐 Geometry

  • Circle & sphere computations
  • Triangle operations
  • Vector calculations
  • Distance formulas

📊 Statistics

  • Mean, median, and variance
  • Standard deviation
  • Permutations & combinations
  • Probability calculations

📏 Trigonometry

  • Basic trigonometric functions (sin, cos, tan)
  • Inverse trigonometric functions
  • Hyperbolic functions

🛠️ Requirements

  • Unix-like operating system (Linux/MacOS)
  • GNU Make
  • BC (Basic Calculator)

📥 Installation

  1. Clone the repository:

    git clone https://github.com/sazumivicky/mathlab.git
    cd mathlab
  2. Ensure you have the required dependencies:

    # For Debian/Ubuntu
    sudo apt-get install make bc
    
    # For MacOS
    brew install make bc

💻 Usage

Run all tests:

make -f run.mk

Run specific tests:

make -f run.mk test      # Basic tests
make -f run.mk advanced  # Advanced calculations

📚 Examples

$(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)

🤝 Contributing

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/example)
  3. Commit your changes (git commit -m 'Add some example')
  4. Push to the branch (git push origin feature/example)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


👥 Authors


🙏 Acknowledgments

  • Inspired by advanced mathematical computations
  • Thanks to the Make and BC development communities
  • Special thanks to all contributors

📧 Contact

Sazumi Viki - root@sazumi.moe

Project Link: https://github.com/sazumivicky/mathlab


⌨️ with ❤️ by Sazumi Viki

About

A comprehensive mathematical computation toolkit implemented in Make, offering advanced features for calculus, algebra, geometry, statistics, and trigonometry.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published