ArcCos / Computation Layer

Calculate the inverse cosine (arccos) of values in a column. Similar to pandas arccos(), numpy.arccos(), or R's acos() function. Returns angles in radians.

Mathematical form: where:

  • Input domain:
  • Output range:

Common applications:

  • Angular displacement calculations
  • Vector angle determination
  • Navigation and positioning
  • Optical path analysis
  • Phase angle computations
  • Crystal structure analysis

Note: Returns null for inputs outside [-1, 1] and preserves existing nulls.

Table
0
0
Table

Transforms

[, ...]

Select

column

The numeric column for inverse cosine calculation. Examples:

  • Unit vectors (0.5 → 1.0472 rad ≈ 60°)
  • Direction cosines (1.0 → 0 rad = 0°)
  • Correlation values (-1.0 → π rad = 180°)
  • Normalized data (0.0 → π/2 rad = 90°)

Values must be in range [-1, 1]

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.