Share via


Functions.Cos Method

Definition

Overloads

Cos(Column)

Computes cosine of the angle, as if computed by java.lang.Math.cos

Cos(String)

Computes cosine of the angle, as if computed by java.lang.Math.cos

Cos(Column)

Computes cosine of the angle, as if computed by java.lang.Math.cos

public static Microsoft.Spark.Sql.Column Cos (Microsoft.Spark.Sql.Column column);
static member Cos : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Cos (column As Column) As Column

Parameters

column
Column

Column to apply

Returns

Column object

Applies to

Cos(String)

Computes cosine of the angle, as if computed by java.lang.Math.cos

public static Microsoft.Spark.Sql.Column Cos (string columnName);
static member Cos : string -> Microsoft.Spark.Sql.Column
Public Shared Function Cos (columnName As String) As Column

Parameters

columnName
String

Column name

Returns

Column object

Applies to