With calculations in eSOPs you can provide operators with instructions that change depending on their input and on data from other sources.

Formulae can be specified to make an eSOP tasks conditional, which means it will only be shown to the operator if the formula evaluates to TRUE.

Formulae can also be used within task instructions - for example: "Add 27mL of diluent". Where the 27mL has been calculated based on previous input.

To master formulae you will need the following function reference:

## Arithmetic functions

Function | Description |
---|---|

abs(x) | Calculate the absolute value of a number. |

cbrt(x [, allRoots]) | Calculate the cubic root of a value. |

ceil(x) | Round a value towards plus infinity If `x` is complex, both real and imaginary part are rounded towards plus infinity. |

cube(x) | Compute the cube of a value, `x * x * x` . |

exp(x) | Calculate the exponent of a value. |

expm1(x) | Calculate the value of subtracting 1 from the exponential value. |

fix(x) | Round a value towards zero. |

floor(x) | Round a value towards minus infinity. |

gcd(a, b) | Calculate the greatest common divisor for two or more values or arrays. |

lcm(a, b) | Calculate the least common multiple for two or more values or arrays. |

log(x [, base]) | Calculate the logarithm of a value. |

log10(x) | Calculate the 10-base logarithm of a value. |

log1p(x) | Calculate the logarithm of a `value+1` . |

log2(x) | Calculate the 2-base of a value. |

mod(x, y) | Calculates the modulus, the remainder of an integer division. |

norm(x [, p]) | Calculate the norm of a number, vector or matrix. |

nthRoot(a) | Calculate the nth root of a value. |

pow(x, y) | Calculates the power of x to y, `x ^ y` . |

round(x [, n]) | Round a value towards the nearest integer. |

sign(x) | Compute the sign of a value. |

sqrt(x) | Calculate the square root of a value. |

square(x) | Compute the square of a value, `x * x` . |

unaryMinus(x) | Inverse the sign of a value, apply a unary minus operation. |

unaryPlus(x) | Unary plus operation. |

xgcd(a, b) | Calculate the extended greatest common divisor for two values. |

## Statistics functions

Function | Description |
---|---|

mad(a, b, c, …) | Compute the median absolute deviation of a matrix or a list with values. |

max(a, b, c, …) | Compute the maximum value of a matrix or a list with values. |

mean(a, b, c, …) | Compute the mean value of matrix or a list with values. |

median(a, b, c, …) | Compute the median of a matrix or a list with values. |

min(a, b, c, …) | Compute the maximum value of a matrix or a list of values. |

mode(a, b, c, …) | Computes the mode of a set of numbers or a list with values(numbers or characters). |

prod(a, b, c, …) | Compute the product of a matrix or a list with values. |

quantileSeq(A, prob[, sorted]) | Compute the prob order quantile of a matrix or a list with values. |

std(a, b, c, …) | Compute the standard deviation of a matrix or a list with values. |

sum(a, b, c, …) | Compute the sum of a matrix or a list with values. |

var(a, b, c, …) | Compute the variance of a matrix or a list with values. |

## Comments

0 comments

Please sign in to leave a comment.