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.1

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.1
File Size Uploaded
mingmath_package-0.1.1.tar.gz 6.6 MB Details

Built distribution (wheel)

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

Total release size: 6.6 MB

Release files / mingmath_package-0.1.1.tar.gz

Download URL mingmath_package-0.1.1.tar.gz
Size 6.6 MB
Tags Source
SHA-256 checksum
How to use checksums
a1c00fac2f74fd6854166c18b228bdaf1bb8a05810863099e08f3bc667d9a9e0
BLAKE2b-256 checksum
How to use checksums
6ba4037c1395c87f5818cba3cf0498b945c5c9f8bc5ad7df367dd7adc9e2f886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL mingmath_package-0.1.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7367a5332081a4376909f545805e88b78af4cd04eb6f9209ff3c52d05b5409c3
BLAKE2b-256 checksum
How to use checksums
fa235e13133eeacefecd0a92b0ef97a18331ff8e62cccd6fbe381049c83b89b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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