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.
Metadata
Release files for mfunc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mfunc-0.1.1.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mfunc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / mfunc-0.1.1.tar.gz
| Download URL | mfunc-0.1.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c071b06a063c72121081a442c751a5dedf88c52b01fdabba95a4cdcc79a73116
|
|
BLAKE2b-256 checksum How to use checksums |
6e902eb99d8a80c221de627bc2d56684f703ce20f3899229f4be06b0bb1a3210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / mfunc-0.1.1-py3-none-any.whl
| Download URL | mfunc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9050311acd35c51859c83bce2524acab6b65d0d88779164b0abe662367ad2b9
|
|
BLAKE2b-256 checksum How to use checksums |
b90c08a4daf839f352e868e97994dde0c3490323d93bd08dc276581962ff9f82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|