Advantech VisionNavi User Manual page 73

Table of Contents

Advertisement

Note!
Table 1 Formula list that can be used in arithmetic expressions
[Arithmetic(Arithmetic function)]
Function name
Overview
abs
Compute the absolute value of a tuple.
acos
Compute the arccosine of a tuple.
add
Add two tuples.
asin
Compute the arcsine of a tuple.
atan
Compute the arctangent of a tuple.
Compute the arctangent of a tuple for all
atan2
four quadrants.
ceil
Compute the ceiling function of a tuple.
cos
Compute the cosine of a tuple.
cosh
Compute the hyperbolic cosine of a tuple.
cumul
Calculate the cumulative sums of a tuple.
deg
Convert a tuple from radians to degrees.
div
Divide two tuples.
exp
Compute the exponential of a tuple.
Compute the absolute value of a tuple (as
fabs
floating point numbers).
floor
Compute the floor function of a tuple.
Calculate the remainder of the floating point
fmod
division of two tuples.
ldexp
Calculate the ldexp function of two tuples.
log
Compute the natural logarithm of a tuple.
Function name
Overview
log10
Compute the base 10 logarithm of a tuple.
Calculate the elementwise maximum of two
max2
tuples.
Calculate the elementwise minimum of two
min2
tuples.
Calculate the remainder of the integer divi-
mod
sion of two tuples.
mult
Multiply two tuples.
neg
Negate a tuple.
pow
Calculate the power function of two tuples. Pow := pow(T1, T2)
rad
Convert a tuple from degrees to radians.
sgn
Calculate the sign of a tuple.
sin
Compute the sine of a tuple.
sinh
Compute the hyperbolic sine of a tuple.
sqrt
Compute the square root of a tuple.
sub
Subtract two tuples.
tan
Compute the tangent of a tuple.
tanh
Compute the hyperbolic tangent of a tuple. Tanh := tanh(T)
Example of use
Abs := abs(T)
ACos := acos(T)
Sum := S1 + S2
ASin := asin(T)
ATan := atan(T)
ATan := atan2(Y, X)
Ceil := ceil(T)
Cos := cos(T)
Cosh := cosh(T)
Cumul := cumul(Tuple)
Deg := deg(Rad)
Quot := Q1 / Q2
Exp := exp(T)
Abs := fabs(T)
Floor := floor(T)
Fmod := fmod(T1, T2)
Ldexp := ldexp(T1, T2)
Log := log(T)
Example of use
Log := log10(T)
Max2 := max2(T1, T2)
tuple_min2
Mod := T1 % T2
Prod := P1 * P2
Neg := -T
Rad := rad(Deg)
Sgn := sgn(T)
Sin := sin(T)
Sinh := sinh(T)
Sqrt := sqrt(T)
Diff := D1 - D2
Tan := tan(T)
67
VisionNavi User Manual

Advertisement

Table of Contents
loading

Table of Contents