cos

Trigonometric cosine operation. Computes the elementwise cosine of a matrix.

Return

The expression of the cosine operation.

Parameters

value

the tensor to compute cosine for.

Throws

If the tensor is not a matrix.


Trigonometric cosine operation. Computes the elementwise cosine of a matrix evaluated from the matrix expression.

Return

The expression of the cosine operation.

Parameters

value

the matrix evaluated from the tensor arithmetic expression to compute cosine for.