Table Of Contents
Table Of Contents

mx.nd.sin

Description

Computes the element-wise sine of the input array.

The input should be in radians (\(2\pi\) rad equals 360 degrees).

\[sin([0, \pi/4, \pi/2]) = [0, 0.707, 1]\]

The storage type of sin output depends upon the input storage type:

  • sin(default) = default

  • sin(row_sparse) = row_sparse

  • sin(csr) = csr

Arguments

Argument

Description

data

NDArray-or-Symbol.

The input array.

Table Of Contents