Excerpt |
---|
For input values between -1 and 1 inclusive, this function returns the angle in radians whose sine value is the input. This function is the inverse of the sine function. The value can be a Decimal or Integer literal or a reference to a column containing numeric values. |
Info |
---|
NOTE: While this function returns values outside of the range -1 <= x <= 1, those values are not considered valid. |
For more information on the sine function, see SIN Function.
Arc cosecant:
The arc secant function is computed as follows:
Input Range | Output computation |
---|
x<=-1 | asin(1/x) |
x>=1 | asin(1/x) |
-1<x<1 | Not valid |
Numeric literal example:
D lang syntax |
---|
RawWrangle | true |
---|
Type | ref |
---|
showNote | true |
---|
WrangleText | derive type:single value: asin(0.5) |
---|
|
asin(0.5) |
Output: Returns the computation of the arc sine of 0.5. Output value is in radians.
Column reference example:
D lang syntax |
---|
RawWrangle | true |
---|
Type | ref |
---|
showNote | true |
---|
WrangleText | derive type:single value: asin(X) as: asinX' |
---|
|
asin(X) |
Output: Returns the arc sine of the values in X
column.
D lang syntax |
---|
RawWrangle | true |
---|
Type | syntax |
---|
showNote | true |
---|
WrangleText | derive type:single value: asin(numeric_value) |
---|
|
asin(numeric_value) |
Argument | Required? | Data Type | Description |
---|
numeric_value | Y | string, decimal, or integer | Name of column, Decimal or Integer literal, or function returning those types to apply to the function |
numeric_value
Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.
- Missing input values generate missing results.
- Literal numeric values should not be quoted. Quoted values are treated as strings.
- Multiple columns and wildcards are not supported.
Required? | Data Type | Example Value |
---|
Yes | String (column reference) or Integer or Decimal literal | 10 |
Example - Trigonometry Arc functions
Include Page |
---|
| EXAMPLE - Trigonometry Arc Functions |
---|
| EXAMPLE - Trigonometry Arc Functions |
---|
|