doc:user:general:fonctions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:user:general:fonctions [2015/01/07 14:58] – [Functions] boman | doc:user:general:fonctions [2016/06/10 12:30] – [Examples] papeleux | ||
---|---|---|---|
Line 1: | Line 1: | ||
| | ||
- | ====== Functions ====== | + | ====== Functions |
Functions are quite useful to describe how some parameters evolve, over time for example. They can be used to [[doc: | Functions are quite useful to describe how some parameters evolve, over time for example. They can be used to [[doc: | ||
Line 42: | Line 42: | ||
fct1 = PieceWiseLinearFunction() | fct1 = PieceWiseLinearFunction() | ||
- | fct1.setdata(0,0) | + | fct1.setData(0,0) |
- | fct1.setdata(1,1) | + | fct1.setData(1,1) |
can be also defined with a classical python function: | can be also defined with a classical python function: |
doc/user/general/fonctions.txt · Last modified: 2021/01/28 18:28 by papeleux