Cos / Computation Layer

Calculate the cosine of angle values (in radians) in a column. Similar to pandas cos(), numpy.cos(), or R's cos() function.

Mathematical form: where:

  • Input domain: all real numbers (in radians)
  • Output range:
  • Period: radians
  • Key points: ,

Common applications:

  • Wave analysis
  • Signal processing
  • Directional computations
  • Periodic phenomena modeling
  • Phase calculations
  • Circular motion

Note: Input angles must be in radians. For degrees, convert using degrees × (π/180).

Table
0
0
Table

Transforms

[, ...]

Select

column

The numeric column containing angles in radians. Examples:

  • 0 → 1.0 (horizontal)
  • π/2 (1.5708...) → 0.0 (vertical)
  • π (3.1416...) → -1.0 (opposite)
  • π/3 (1.0472...) → 0.5 (60 degrees)

Common to first normalize angles to [0, 2π] range

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.