Skip to main content

library for multidimensional piecewise linear function

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libplf-0.0.4.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

libplf-0.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file libplf-0.0.4.tar.gz.

File metadata

  • Download URL: libplf-0.0.4.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for libplf-0.0.4.tar.gz
Algorithm Hash digest
SHA256 1853aa8e9fe688b147cbe5b8a9da6e9b771c46bbf38a8ed4c661ef1a0644aea9
MD5 1d0284bceece4903924c32d1a059339c
BLAKE2b-256 ba2a4ed1468b3e5ac23f85241821c87ee0c61652a3090fa653398035fbe98990

See more details on using hashes here.

File details

Details for the file libplf-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: libplf-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for libplf-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0dfb0e194535192e013229ca7000d3fecd182f2be7b17f243c83ce51c2b974fe
MD5 ccbc6c9ec31b28acdfdf043fe81f2357
BLAKE2b-256 7c554a5aa04745f40eb00dd2e61cb947e84491c40a1d1bd23596806dc5673edb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page