# Metafor

ULiege - Aerospace & Mechanical Engineering

### Site Tools

doc:user:general:fonctions

# Differences

This shows you the differences between two versions of the page.

Link to this comparison view

 doc:user:general:fonctions [2016/03/30 15:23] – external edit 127.0.0.1 doc:user:general:fonctions [2021/01/28 18:28] (current) – papeleux Both sides previous revisionPrevious revision2021/01/28 18:28 papeleux 2016/06/10 12:30 papeleux [Examples] 2016/03/30 15:23 external edit2015/01/08 17:43 boman [Functions] 2015/01/07 14:58 boman [Functions] 2015/01/07 14:58 boman [Functions (1var)] 2015/01/07 14:57 boman [PythonOneParameterFunction] 2015/01/07 14:56 boman 2015/01/07 14:52 boman 2015/01/07 14:52 boman 2014/08/06 17:58 joris 2013/07/12 18:56 joris createdNext revision Previous revision2021/01/28 18:28 papeleux 2016/06/10 12:30 papeleux [Examples] 2016/03/30 15:23 external edit2015/01/08 17:43 boman [Functions] 2015/01/07 14:58 boman [Functions] 2015/01/07 14:58 boman [Functions (1var)] 2015/01/07 14:57 boman [PythonOneParameterFunction] 2015/01/07 14:56 boman 2015/01/07 14:52 boman 2015/01/07 14:52 boman 2014/08/06 17:58 joris 2013/07/12 18:56 joris created Line 22: Line 22: __Remark:__ As can be seen above, the first and last segments are extrapolated if a value of the function is required outside its domain. __Remark:__ As can be seen above, the first and last segments are extrapolated if a value of the function is required outside its domain. + + ===== CyclicPieceWiseLinearFunction ===== + The ''CyclicPieceWiseLinearFunction'' allows to duplicate infinitely  a ''PieceWiseLinearFunction''. + + {{ :doc:user:cyclicpiecewiselinearfunction.png?600 |}} + + 2 constrains are applied on Data : + - the first abcisse must be equal to 0.0 (abs1 = 0.0) + - the cycle must be closed (ord1 = ordLast) ===== PythonOneParameterFunction ===== ===== PythonOneParameterFunction ===== Line 42: Line 51: 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.1459344184.txt.gz · Last modified: 2016/06/10 12:30 (external edit)