Skip to main content

Math Package

A basic university-level mathematics package for Calculus and Linear Algebra operations.

This package provides simple mathematical functions for undergraduate students, including basic Calculus and Linear Algebra operations.

Installation

Install the package using pip:

pip install math_package
# Math Package

A basic university-level mathematics package for Calculus and Linear Algebra operations.

This package provides simple mathematical functions for undergraduate students, including basic Calculus and Linear Algebra operations.

## Installation

Install the package using pip:

    pip install math_package

## Usage

### Calculus

The Calculus module provides functions for derivatives, definite integrals, limits, Maclaurin series, and critical points.

    from math_package import calculus as calc

    coef, pwr = calc.derivative_power(3, 4)
    print(f"Derivative: {coef}x^{pwr}")

    print(calc.definite_integral_power(3, 2, 0, 2))

    print(calc.limit_polynomial([1, 2, 1], 3))

    print(calc.maclaurin_exp(1))

    print(calc.critical_points_quadratic(2, -8, 3))

### Linear Algebra

The Linear Algebra module provides basic matrix and vector operations.

    from math_package import linear_algebra as la

    A = [[1, 2], [3, 4]]
    B = [[5, 6], [7, 8]]

    print(la.matrix_add(A, B))

    print(la.matrix_multiply(A, B))

    print(la.determinant_2x2(A))

    print(la.transpose(A))

    print(la.dot_product([1, 2], [3, 4]))

## Modules

### Calculus

The `calculus` module includes:

- `derivative_power()` - Calculate the derivative of a power function.
- `definite_integral_power()` - Calculate the definite integral of a power function.
- `limit_polynomial()` - Calculate the limit of a polynomial.
- `maclaurin_exp()` - Approximate e^x using the Maclaurin series.
- `critical_points_quadratic()` - Find the critical point of a quadratic function.

### Linear Algebra

The `linear_algebra` module includes:

- `matrix_add()` - Add two matrices.
- `matrix_multiply()` - Multiply two matrices.
- `determinant_2x2()` - Calculate the determinant of a 2x2 matrix.
- `transpose()` - Find the transpose of a matrix.
- `dot_product()` - Calculate the dot product of two vectors.

## Author

Student Name

## License

This project is licensed under the MIT License.

Metadata

Release files for mingmath-package 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mingmath-package 0.1.0
File Size Uploaded
mingmath_package-0.1.0.tar.gz 6.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mingmath-package 0.1.0
File Interpreter ABI Platform
mingmath_package-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 MB

Release files / mingmath_package-0.1.0.tar.gz

Download URL mingmath_package-0.1.0.tar.gz
Size 6.6 MB
Tags Source
SHA-256 checksum
How to use checksums
e0ce863ef9d4654090d6fc7bc6b9e26309c3e2a9bfaff021884bf3687f6e6c77
BLAKE2b-256 checksum
How to use checksums
347b1241abb8da7ccd608961cc3ad670b7802aa98a69f628a2fed2c05ddfb9b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / mingmath_package-0.1.0-py3-none-any.whl

Download URL mingmath_package-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
991d19209e373aca575439db7bac4f9a1e3627dd732224d35e956082d72f5de3
BLAKE2b-256 checksum
How to use checksums
fffa64dff6a6ecbe94a2f65cad2b5b37d58165bc96bfec59cce42ac0af3da2c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page