A python library to add list slicing capabilities and equality checking to mathematical functions.
Project description
mfunc
This library was made so that you can get a list of points of a function by list slicing.
How to Use
First, put from mfunc.mfunc import mfunc at the top of your code.
Then, if you have already defined a function f(x), you can initiate an instance of an mfunc by assigning mfunc(f) to a variable.
Supported Features
Here is the list of supported features for an mfunc:
-
Item retrieval and slicing (e.g.
mfunc(lambda x:x)[:5]returns the values of the function from 0 to 4). -
The arithmetic operators
+ - * / // **. -
A string representation (returns actual function).
Bugs
If you hae discovered a bug or have an idea, post it here.
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 mfunc-0.1.1.tar.gz.
File metadata
- Download URL: mfunc-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c071b06a063c72121081a442c751a5dedf88c52b01fdabba95a4cdcc79a73116
|
|
| MD5 |
b52ed886ad5fddfc61672a831423f676
|
|
| BLAKE2b-256 |
6e902eb99d8a80c221de627bc2d56684f703ce20f3899229f4be06b0bb1a3210
|
File details
Details for the file mfunc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mfunc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9050311acd35c51859c83bce2524acab6b65d0d88779164b0abe662367ad2b9
|
|
| MD5 |
5270aeba4bcaa62e31ca0caf6c112499
|
|
| BLAKE2b-256 |
b90c08a4daf839f352e868e97994dde0c3490323d93bd08dc276581962ff9f82
|