pub trait FnsOps<T, S: Shape = (), D: Device = Self>: Device {
// Required methods
fn exp(&self, x: &Matrix<'_, T, D, S>) -> Matrix<'_, T, Self, S>;
fn ln(&self, x: &Matrix<'_, T, D, S>) -> Matrix<'_, T, Self, S>;
fn neg(&self, x: &Matrix<'_, T, D, S>) -> Matrix<'_, T, Self, S>;
fn powf(&self, x: &Matrix<'_, T, D, S>, rhs: T) -> Matrix<'_, T, Self, S>;
fn powi(&self, x: &Matrix<'_, T, D, S>, rhs: i32) -> Matrix<'_, T, Self, S>;
}Required Methods§
fn exp(&self, x: &Matrix<'_, T, D, S>) -> Matrix<'_, T, Self, S>
fn ln(&self, x: &Matrix<'_, T, D, S>) -> Matrix<'_, T, Self, S>
fn neg(&self, x: &Matrix<'_, T, D, S>) -> Matrix<'_, T, Self, S>
fn powf(&self, x: &Matrix<'_, T, D, S>, rhs: T) -> Matrix<'_, T, Self, S>
fn powi(&self, x: &Matrix<'_, T, D, S>, rhs: i32) -> Matrix<'_, T, Self, S>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.