Skip to main content

marksfuncs

A mathematical library to graph many mathematical functions in a plot.

Developed by Marc Pérez (c) 2024

Examples of How To Use

Show A Grafic

from marksfuncs import Exponential

Exponential(a=4, b=2, x_values_list=[-5, 5, 100])

Convert The Grafic to a Image

from marksfuncs import Linear
from PIL import Image

# Create An Io Img Bytes
img_buffer = Linear(m=3, b=5, x_values_list=[-5, 5, 100]).image()

# Will Show The Function Grafic As A Png File
img = Image.open(img_buffer)
img.show(title="Grafic Image")

Graphics Explanation

Graphic Example

from marksfuncs import Exponential
"""

x_values_list = A list to indicate de values of x:
    x_values_list[-5, 5, 100] = x will start at number -5 and end in 5 leaving 100 spaces.

a, b (This values depend on the type of function we would like to graph) = In this case,
Exponential Function Formula = f(x) = a exp(b x)

<------------------------------------------------------------------------------------->

You can navigate through the graphic to know the exact values of y and x in the position you click,
or just can watch the numbers of the graphic. In the bottom you can save the graphic or move it,
in every graphic there's a label that tells you the current formula of the function.

"""
# Create The Graphic
Exponential(a=3, b=4, x_values_list=[-5, 5, 100]).graph()

Metadata

Release files for marksfuncs 0.2

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

Source distribution (sdist)

Source distribution for marksfuncs 0.2
File Size Uploaded
marksfuncs-0.2.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for marksfuncs 0.2
File Interpreter ABI Platform
marksfuncs-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / marksfuncs-0.2.tar.gz

Download URL marksfuncs-0.2.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b25180da5fcf5e6f5919032579af7ebf5c0d7ff7390c87e324c2433d7a98c485
BLAKE2b-256 checksum
How to use checksums
0d823968861a8d3d33436efcf41ddb9f18c5c7d84a32d1c8afcc6651164a1423
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / marksfuncs-0.2-py3-none-any.whl

Download URL marksfuncs-0.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ae286cc17a9400dee166a22dd99b01767af490bac19354c3d9ff38eb74618ff
BLAKE2b-256 checksum
How to use checksums
6eea4a05af81da66df9e1140bb215e1023235493ee468dd0aecc955ecaad70ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

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