A Symbolic Computer Algebra System
Project description
Lispium
A Symbolic Computer Algebra System written in Zig.
Installation
pip install lispium
Or with uv:
uv pip install lispium
Usage
After installation, the lispium command is available:
# Start the REPL
lispium repl
# Run a file
lispium run script.lspm
# Show version
lispium --version
# Show help
lispium --help
Features
- Symbolic Computation: Work with symbolic expressions and variables
- Calculus: Differentiation, integration, Taylor series, limits
- Linear Algebra: Matrices, determinants, eigenvalues, linear systems
- Algebra: Polynomial operations, equation solving, factoring
- Number Theory: Prime testing, factorization, modular arithmetic
- And much more: Complex numbers, vectors, statistics, plotting
Example
; Differentiate x^3
(diff (^ x 3) x) ; => (* 3 (^ x 2))
; Solve quadratic equation
(solve (- (^ x 2) 4) x) ; => {2, -2}
; Matrix determinant
(det (matrix (1 2) (3 4))) ; => -2
Documentation
See the GitHub repository for full documentation.
License
MIT
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 lispium-0.7.0.tar.gz.
File metadata
- Download URL: lispium-0.7.0.tar.gz
- Upload date:
- Size: 4.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3b8454a8a0ffe7b0b5fdd5b88d0908bd993efdac62ed5bd600e6ff4a72c1e96
|
|
| MD5 |
cb6016e0b13887b1d43f52c651665e35
|
|
| BLAKE2b-256 |
e11ee5da17e44ebed3e2779f5b86dcd3acc3a4100633389d0200988dfdd6e8eb
|
Provenance
The following attestation bundles were made for lispium-0.7.0.tar.gz:
Publisher:
pypi.yml on Tetraslam/lispium
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lispium-0.7.0.tar.gz -
Subject digest:
b3b8454a8a0ffe7b0b5fdd5b88d0908bd993efdac62ed5bd600e6ff4a72c1e96 - Sigstore transparency entry: 2140149259
- Sigstore integration time:
-
Permalink:
Tetraslam/lispium@1cf8a862f3a804a8932779404d6f7613346dafc4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Tetraslam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@1cf8a862f3a804a8932779404d6f7613346dafc4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file lispium-0.7.0-py3-none-any.whl.
File metadata
- Download URL: lispium-0.7.0-py3-none-any.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4963122b9f255a9e691ebac7c780cf5a2f278aa7bd7f449c0f4570b68fb25308
|
|
| MD5 |
649eb975e2f637b2923e4be217de36f5
|
|
| BLAKE2b-256 |
b61a7608992cea3867ff56afcd79467d907bdbd118873d91a61ef57fb3dbfe72
|
Provenance
The following attestation bundles were made for lispium-0.7.0-py3-none-any.whl:
Publisher:
pypi.yml on Tetraslam/lispium
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lispium-0.7.0-py3-none-any.whl -
Subject digest:
4963122b9f255a9e691ebac7c780cf5a2f278aa7bd7f449c0f4570b68fb25308 - Sigstore transparency entry: 2140149282
- Sigstore integration time:
-
Permalink:
Tetraslam/lispium@1cf8a862f3a804a8932779404d6f7613346dafc4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Tetraslam
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@1cf8a862f3a804a8932779404d6f7613346dafc4 -
Trigger Event:
workflow_dispatch
-
Statement type: