Skip to content

radomirbosak/plf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piecewise-linear functions

plf is a library that implements a piecewise-linear function (which is a real function of a real variable) and defines basic operation with it: addition, subtraction, multiplication, division, function composition, and taking definite integral.

It is used as an approximation of a continuous function (more precisely the density of a random variable) in the sample file fixpoint-nn.py, which tries to solve a functional equation for various parameters.

The demostration uses fixpoint-iteration method for solving the following functional problem.

Find real function The signature of function f such that:

Equation for f

Demonstration

python3 fixpoint-nn.py

screenshot

Dependencies

  • python3
  • python3-matplotlib
  • python3-numpy

About

Piecewise-linear functions - library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages