Cos function

Returns the cosine for each value in a column.

Note: Trigonometric functions are performed in radians.

Namespaces

  • math

Input

Non-decimal numeric values

Output

Double values

Syntax

set-column :column math:cos(column)

Example

Returns the cosine of each value in the test column.

set-column :test math:cos(test)

Created in 2020 by Google Inc.