Graph.sin(x, *, name=None)

Calculate the element-wise sine of an object. This can be a number, an array, a tensor, or a time-dependent function in the form of a Pwc or an Stf.


  • x (number or np.ndarray or Tensor or Pwc or Stf) – The object whose sine you want to calculate, xx
  • name (str or None , optional) – The name of the node. You can only provide a name if the object is not an Stf.


The element-wise sine, sinx\sin{x}

Return type

Tensor or Pwc or Stf

Was this useful?