pub trait TensorTrig {
    type Unary: TensorInstance;

    fn asin(&self) -> TCResult<Self::Unary>;
    fn sin(&self) -> TCResult<Self::Unary>;
    fn asinh(&self) -> TCResult<Self::Unary>;
    fn sinh(&self) -> TCResult<Self::Unary>;
    fn acos(&self) -> TCResult<Self::Unary>;
    fn cos(&self) -> TCResult<Self::Unary>;
    fn acosh(&self) -> TCResult<Self::Unary>;
    fn cosh(&self) -> TCResult<Self::Unary>;
    fn atan(&self) -> TCResult<Self::Unary>;
    fn tan(&self) -> TCResult<Self::Unary>;
    fn tanh(&self) -> TCResult<Self::Unary>;
    fn atanh(&self) -> TCResult<Self::Unary>;
}
Expand description

Trigonometric Tensor operations

Required Associated Types

The return type of a unary operation

Required Methods

Element-wise arcsine

Element-wise sine

Element-wise hyperbolic arcsine

Element-wise hyperbolic sine

Element-wise arccosine

Element-wise cosine

Element-wise hyperbolic arccosine

Element-wise hyperbolic cosine

Element-wise arctangent

Element-wise tangent

Element-wise hyperbolic tangent

Element-wise hyperbolic arctangent

Implementors