Skip to main content

libplf

library for multidimensional piecewise linear function

usage

from libplf import *

f = plf(
    piece(
        point(
            vector(1, 1),
            vector(8),
        ),
        point(
            vector(2, 3),
            vector(5),
        ),
        point(
            vector(3, 2),
            vector(5),
        ),
    ),
)

f(1.5, 1.5)

Metadata

Release files for libplf 0.0.4

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

Source distribution (sdist)

Source distribution for libplf 0.0.4
File Size Uploaded
libplf-0.0.4.tar.gz 2.5 kB Details

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / libplf-0.0.4.tar.gz

Download URL libplf-0.0.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1853aa8e9fe688b147cbe5b8a9da6e9b771c46bbf38a8ed4c661ef1a0644aea9
BLAKE2b-256 checksum
How to use checksums
ba2a4ed1468b3e5ac23f85241821c87ee0c61652a3090fa653398035fbe98990
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

Release files / libplf-0.0.4-py3-none-any.whl

Download URL libplf-0.0.4-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dfb0e194535192e013229ca7000d3fecd182f2be7b17f243c83ce51c2b974fe
BLAKE2b-256 checksum
How to use checksums
7c554a5aa04745f40eb00dd2e61cb947e84491c40a1d1bd23596806dc5673edb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

3 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