Standard mathematical and trigonometric functions are accessed in Planarly via the Math
namespace. They accept tables and single values as inputs. Any non-numeric input values will trigger an error. The returned value has the same dimensions as the input value.
Takes the exponent of all values in a
.
This function takes two single values, a table and a single exponent, or a single value and a table of exponents.
If a
is a table, exp
must be a single value and every value in a
is raised to exp
. The result is a table of the same dimensions as a
If exp
is a table, a
must be a single value. The result is a table with the same dimensions as exp
with a
raised to each value in exp
. This is shown below.
Calculate Sine value of a
. The unit of a
is radians and it must be a numeric type. Please refer to Sine definition in mathematics
Calculate Cos value of a
. The unit of a
is radians and it must be a numeric type. Please refer to Cos definition in mathematics
Calculate tangent value of a
. The unit of a
is radians and it must be a numeric type. Please refer to trigonometric functions
Calculate arcsine value of a
. The return unit is radians and a
must be a numeric type. Please refer to Inverse trigonometric functions
Calculate arccosine value of a
. The return unit is radians and a
must be a numeric type. Please refer to Inverse trigonometric functions
Calculate arctangent value of a
. The return unit is radians and a
must be a numeric type. Please refer to Inverse trigonometric functions