This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tools:multi-maths [2019/05/28 13:34] – lightwolf | tools:multi-maths [2020/05/13 15:16] – lightwolf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== X-Maths | + | ====== X-Maths ====== |
{{ : | {{ : | ||
Line 14: | Line 14: | ||
===== Scalar Computations ===== | ===== Scalar Computations ===== | ||
^Scalar =^Description^ | ^Scalar =^Description^ | ||
- | |X + Y| | + | |X + Y|Adds two scalar values| |
- | |X - Y| | + | |X - Y|Subtracts two scalar values| |
- | |X * Y| | + | |X * Y|Multiplies two scalar values| |
- | |X / Y| | + | |X / Y|Divides two scalar values| |
- | |pow (X,Y)| | + | |pow (X,Y)|Raises X to the power of Y, X< |
- | |sqrt(X)| | + | |sqrt(X)|Returns the square root of X| |
- | |frac(X)| | + | |frac(X)|Returns the fractional part of X| |
- | |int(X)| | + | |int(X)|Returns the non-fractional (integer) part of X| |
- | |ceil(X)| | + | |ceil(X)|Rounds X up to the next integer| |
- | |floor(X)| | + | |floor(X)|Rounds X down to the previous integer| |
- | |fabs(X)| | + | |fabs(X)|The absolute of X| |
- | |fmod(X, | + | |fmod(X,Y)|The remainder of X/Y| |
- | |sin(X)| | + | |sin(X)|The sine of X, X is expected to be in radians| |
- | |cos(X)| | + | |cos(X)|The cosine of X, X is expected to be in radians| |
- | |tan(X)| | + | |tan(X)|The tangent of X, X is expected to be in radians| |
- | |asin(X)| | + | |asin(X)|The inverse sine of X, returned in radians| |
- | |acos(X)| | + | |acos(X)|The inverse cosine of X, returned in radians| |
- | |atan(X)| | + | |atan(X)|The inverse tangent of X, returned in radians| |
- | |atan(X / Y)| | + | |atan(X / Y)|The inverse sine of X/Y, returned in radians| |
- | |sinh(X)| | + | |sinh(X)|The hyperbolic sine of X, X is expected to be in radians| |
- | |cosh(X)| | + | |cosh(X)|The hyperbolic cosine of X, X is expected to be in radians| |
- | |tanh(X)| | + | |tanh(X)|The hyperbolic tangent of X, X is expected to be in radians| |
- | |exp(X)| | + | |exp(X)|Exponential function, returns e< |
- | |log(X)| | + | |log(X)|returns the logarithm of X| |
- | |log10(X)| | + | |log10(X)|returns the base 10 logarithm of X| |
- | |A . B (dot product)| | + | |A . B (dot product)|Returns the dot product of the vectors A & B| |
- | |length(A)| | + | |length(A)|Returns the length of vector A| |
- | |-X| | + | |-X|Inverts |
===== Vector Computations ===== | ===== Vector Computations ===== |