pytaco.cos

pytaco.cos(e1)

Return the element-wise cosine of the index expression.

The index expression must have a floating point type. If necessary, a user may cast() the input expression before applying the function as shown in sqrt().

This must be assigned to a tensor for the computation to be performed.

Parameters
e1: index_expression

Input index expression

Returns
cosine_expr: index_expression

An index expression representing the element wise cosine of the input expression.