[−][src]Trait tensor_rs::tensor::elemwise::ElemwiseTensorOp
Associated Types
type TensorType
type ElementType
Required methods
fn abs(&self) -> Self::TensorType
fn acos(&self) -> Self::TensorType
fn asin(&self) -> Self::TensorType
fn atan(&self) -> Self::TensorType
fn ceil(&self) -> Self::TensorType
fn clamp(
&self,
min: Self::ElementType,
max: Self::ElementType
) -> Self::TensorType
&self,
min: Self::ElementType,
max: Self::ElementType
) -> Self::TensorType
fn cos(&self) -> Self::TensorType
fn cosh(&self) -> Self::TensorType
fn exp(&self) -> Self::TensorType
fn expm1(&self) -> Self::TensorType
fn floor(&self) -> Self::TensorType
fn frac(&self) -> Self::TensorType
fn log(&self) -> Self::TensorType
fn log10(&self) -> Self::TensorType
fn log1p(&self) -> Self::TensorType
fn log1pexp(&self) -> Self::TensorType
fn log2(&self) -> Self::TensorType
fn neg(&self) -> Self::TensorType
fn pow(&self, n: Self::ElementType) -> Self::TensorType
fn reciprocal(&self) -> Self::TensorType
fn round(&self) -> Self::TensorType
fn rsqrt(&self) -> Self::TensorType
fn sigmoid(&self) -> Self::TensorType
fn sign(&self) -> Self::TensorType
fn sin(&self) -> Self::TensorType
fn sinh(&self) -> Self::TensorType
fn sqrt(&self) -> Self::TensorType
fn square(&self) -> Self::TensorType
fn tan(&self) -> Self::TensorType
fn tanh(&self) -> Self::TensorType
fn trunc(&self) -> Self::TensorType
Implementors
impl<T> ElemwiseTensorOp for GenTensor<T> where
T: Float, [src]
T: Float,
type TensorType = GenTensor<T>
type ElementType = T
fn abs(&self) -> GenTensor<T>[src]
fn acos(&self) -> GenTensor<T>[src]
fn asin(&self) -> GenTensor<T>[src]
fn atan(&self) -> GenTensor<T>[src]
fn ceil(&self) -> GenTensor<T>[src]
fn clamp(&self, min: T, max: T) -> GenTensor<T>[src]
fn cos(&self) -> GenTensor<T>[src]
fn cosh(&self) -> GenTensor<T>[src]
fn exp(&self) -> GenTensor<T>[src]
fn expm1(&self) -> GenTensor<T>[src]
fn floor(&self) -> GenTensor<T>[src]
fn frac(&self) -> GenTensor<T>[src]
fn log(&self) -> GenTensor<T>[src]
fn log10(&self) -> GenTensor<T>[src]
fn log1p(&self) -> GenTensor<T>[src]
fn log1pexp(&self) -> GenTensor<T>[src]
Better log(1 + exp(x)) see https://cran.r-project.org/web/packages/Rmpfr/vignettes/log1mexp-note.pdf