Differences

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

Link to this comparison view

Both sides previous revision Previous revision
image_expression_type [2021/08/31 01:12]
admin [Image Operators and Functions]
image_expression_type [2022/02/17 18:27] (current)
chrystian
Line 45: Line 45:
 | Normal | Generate a random value using the Normal probability distribution. The value is generated according to the first and second given EXPR representing,​ respectively,​ the mean and the deviation of the distribution | rNormal(EXPR,​@@@EXPR) | if@@@rNormal(10,​@@@2)@@@>​@@@9@@@then@@@1@@@else@@@i2 |  | Normal | Generate a random value using the Normal probability distribution. The value is generated according to the first and second given EXPR representing,​ respectively,​ the mean and the deviation of the distribution | rNormal(EXPR,​@@@EXPR) | if@@@rNormal(10,​@@@2)@@@>​@@@9@@@then@@@1@@@else@@@i2 | 
 | Poisson | Generate a random value using the Poisson probability distribution. The value is generated according to the given EXPR representing the distribution lambda | rPoisson(EXPR) | if@@@rPoisson(100)@@@>​@@@95@@@then@@@1@@@else@@@i2 |  | Poisson | Generate a random value using the Poisson probability distribution. The value is generated according to the given EXPR representing the distribution lambda | rPoisson(EXPR) | if@@@rPoisson(100)@@@>​@@@95@@@then@@@1@@@else@@@i2 | 
-Squared ​Root | | sqrt(EXPR) | sqrt(i1@@@/​@@@i4) |+Square ​Root | Returns the square root of the expression ​| sqrt(EXPR) | sqrt(i1@@@/​@@@i4) |
 | Sin | Sin (input in radians) | sin(EXPR) | sin(i1@@@/​@@@i4) | | Sin | Sin (input in radians) | sin(EXPR) | sin(i1@@@/​@@@i4) |
 | Cos | Cos (input in radians) | cos(EXPR) | cos(i1@@@+@@@i2) | | Cos | Cos (input in radians) | cos(EXPR) | cos(i1@@@+@@@i2) |
Line 53: Line 53:
 | Atan | Atan (output in radians) | atan(EXPR) | atan(i1@@@+@@@i2) | | Atan | Atan (output in radians) | atan(EXPR) | atan(i1@@@+@@@i2) |
 | Ceil | [[wp>​Floor_and_ceiling_functions|Convert the value to the smallest following integer]] | ceil(EXPR) | ceil(i1@@@+@@@i2) | | Ceil | [[wp>​Floor_and_ceiling_functions|Convert the value to the smallest following integer]] | ceil(EXPR) | ceil(i1@@@+@@@i2) |
-| Exp | | exp(EXPR) | exp(i1[i1@@@+@@@i2]) |+| Exp | Returns the natural exponential of the expression ​| exp(EXPR) | exp(i1[i1@@@+@@@i2]) |
 | Floor | [[wp>​Floor_and_ceiling_functions|Convert the value to the largest previous integer]] | floor(EXPR) | floor(i1@@@+@@@i2) | | Floor | [[wp>​Floor_and_ceiling_functions|Convert the value to the largest previous integer]] | floor(EXPR) | floor(i1@@@+@@@i2) |
 | Round | Convert the value to the nearest integer | round(EXPR) | round(i1@@@/​@@@i4) | | Round | Convert the value to the nearest integer | round(EXPR) | round(i1@@@/​@@@i4) |
-| Abs | | abs(EXPR) | abs(i1@@@+@@@i2) | +| Abs | Returns the absolute value of the expression ​| abs(EXPR) | abs(i1@@@+@@@i2) | 
-| Ln | | ln(EXPR) | ln(i1@@@/​@@@i4) | +| Ln | Returns the natural logarithm of the expression ​| ln(EXPR) | ln(i1@@@/​@@@i4) | 
-| Log | | log(EXPR) | log(i1@@@/​@@@i4) | +| Log | Returns the logarithm of the expression to the base of 10 | log(EXPR) | log(i1@@@/​@@@i4) | 
-| Max | | max(EXPR,​@@@EXPR) | max(i1,​@@@i2) | +| Max | Returns the maximum value | max(EXPR,​@@@EXPR) | max(i1,​@@@i2) | 
-| Min | | min(EXPR,​@@@EXPR) | min(i1,​@@@i4) |+| Min | Returns the minimum value | min(EXPR,​@@@EXPR) | min(i1,​@@@i4) |
 | Signal | Return +1, if the expression is positive, -1, if it is negative, and 0, otherwise. | signal(EXPR) | signal(i1@@@-@@@4) | | Signal | Return +1, if the expression is positive, -1, if it is negative, and 0, otherwise. | signal(EXPR) | signal(i1@@@-@@@4) |
 | Abort | Abort the model execution | abort | if@@@i1@@@>​@@@0@@@then@@@i1@@@*@@@i2@@@+@@@4@@@else@@@abort | | Abort | Abort the model execution | abort | if@@@i1@@@>​@@@0@@@then@@@i1@@@*@@@i2@@@+@@@4@@@else@@@abort |