A Python package for numerical computing, including root-finding, interpolation, integration, differentiation, and linear system solvers.
Project description
ncpy
ncpy — Numerical Computing in Python.
ncpy is a compact, educational Python library that implements common numerical methods for courses and quick prototyping.
It is built on top of NumPy and (optionally) SciPy, and provides easy-to-use functions for root finding, interpolation, approximation, integration, differentiation, and solving linear systems.
✨ Features
- Root-finding: Bisection, Newton–Raphson, Secant, Fixed-point iteration
- Interpolation: Lagrange, Newton divided differences, Linear, Cubic spline, Neville’s method
- Approximation / Curve fitting: Polynomial least squares, Exponential fit, Logarithmic fit
- Numerical integration: Trapezoidal, Simpson 1/3, Simpson 3/8, Romberg, Gaussian quadrature
- Numerical differentiation: Forward, Backward, Central differences, Richardson extrapolation, Numerical gradient
- Linear systems: Gaussian elimination, Gauss–Jordan, LU decomposition, Jacobi, Gauss–Seidel, Conjugate Gradient
📦 Installation
pip install ncpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ncpy-0.1.2.tar.gz.
File metadata
- Download URL: ncpy-0.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e377efa66fbce30a90bbb5607ee3dc74930a994f575bbaeaa93eda6d1d07c18
|
|
| MD5 |
b8f8ed5909caf4ce98136d40bd388ad3
|
|
| BLAKE2b-256 |
b820d0270e595e51034ffd5ca8a62e5f0c4e0583eeee5c967770f582880d0a9d
|
File details
Details for the file ncpy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ncpy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cb2e631a01039657825f0a1e1bfdd53eb1f8df14e47154529efa7b24c99aa94
|
|
| MD5 |
3f150acdd77e75a22239f61d73f8d028
|
|
| BLAKE2b-256 |
0dc40995e92aa7240d637ad660fc2ef113e7a93b25da4d5b4a8e2b27a007ba38
|