Skip to main content

Roots

Trait Roots 

Source
pub trait Roots: Sized {
    // Required methods
    fn sqrt(self) -> Self;
    fn rsqrt(self) -> Self;
}
Expand description

Scalar square-root and reciprocal-square-root operations backed by NumKong’s exported kernels.

Required Methods§

Source

fn sqrt(self) -> Self

Source

fn rsqrt(self) -> Self

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.

Implementations on Foreign Types§

Source§

impl Roots for f32

Source§

fn sqrt(self) -> Self

Source§

fn rsqrt(self) -> Self

Source§

impl Roots for f64

Source§

fn sqrt(self) -> Self

Source§

fn rsqrt(self) -> Self

Implementors§