Skip to main content

pyculas

Installation Instructions

use pip or pip3 to install the library.

pip install pyculas

Note:

Currently this library support only algebraic expressions. Soon we will update for trigonometric, logarithmic expressions , etc.

Usage

This class takes a list of terms in a polynomial expression

Importing

from pyculas import Expression

Examples of usage:

If you have 4x^3 - 2x + 6, then create the object as follows -

A = Expression.algebraic("4x^3 - 2x + 6")

This method differentiates a polynomial expression at a given value and outputs the final expression.

Output:

('12x^2 - 2' , None)

1.If only final expression required

Q. 2x^2+2

A = Expression.algebraic("2x^2 + 2")
print(A.differentiate())

Output:

('4x' , None)

2.To get value at a point

Q. Find the differentiation of 2x^2+2 at x=3.

A = Expression.algebraic("2x^2 + 2")
print(A.differentiate(value=3,level=1))

Output:

('4x' , 12)

Here value means at which point you want to differentiate and level means the nth derivative.

Metadata

Release files for pyculas 1.0.6

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

Source distribution (sdist)

Source distribution for pyculas 1.0.6
File Size Uploaded Provenance Actions
pyculas-1.0.6.tar.gz 3.4 kB Without provenance Details for pyculas-1.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 8.2 kB

Release files / pyculas-1.0.6.tar.gz

Download URL pyculas-1.0.6.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
88bce8994e66b36d8ba3d54b2f7c8953885f9ebdce13eb4e1bdd61b10a416cb7
BLAKE2b-256 checksum
How to use checksums
ea1395ffbca73e5e14a6a639088cf5806541e11595cf2755c8f2f0f6458d0997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.20.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.8

Release files / pyculas-1.0.6-py3-none-any.whl

Download URL pyculas-1.0.6-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51516eaf3eca8c5a49f7bfdd487f431015f5742fdd6be56b3d18a30fe803b19e
BLAKE2b-256 checksum
How to use checksums
93ab201d984faede3649793cebf456936e6c674e970c4d0d9411774452524820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.20.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.8

Security for pyculas 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files No provenance

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