Trait argmin_math::ArgminZeroLike

source ·
pub trait ArgminZeroLike {
    // Required method
    fn zero_like(&self) -> Self;
}
Expand description

Zero for dynamically sized objects

Required Methods§

source

fn zero_like(&self) -> Self

Return zero(s)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ArgminZeroLike for f32

source§

fn zero_like(&self) -> f32

source§

impl ArgminZeroLike for f64

source§

fn zero_like(&self) -> f64

source§

impl ArgminZeroLike for i8

source§

fn zero_like(&self) -> i8

source§

impl ArgminZeroLike for i16

source§

fn zero_like(&self) -> i16

source§

impl ArgminZeroLike for i32

source§

fn zero_like(&self) -> i32

source§

impl ArgminZeroLike for i64

source§

fn zero_like(&self) -> i64

source§

impl ArgminZeroLike for u8

source§

fn zero_like(&self) -> u8

source§

impl ArgminZeroLike for u16

source§

fn zero_like(&self) -> u16

source§

impl ArgminZeroLike for u32

source§

fn zero_like(&self) -> u32

source§

impl ArgminZeroLike for u64

source§

fn zero_like(&self) -> u64

source§

impl ArgminZeroLike for Complex<f32>

source§

impl ArgminZeroLike for Complex<f64>

source§

impl ArgminZeroLike for Complex<i8>

source§

impl ArgminZeroLike for Complex<i16>

source§

impl ArgminZeroLike for Complex<i32>

source§

impl ArgminZeroLike for Complex<i64>

source§

impl ArgminZeroLike for Complex<u8>

source§

impl ArgminZeroLike for Complex<u16>

source§

impl ArgminZeroLike for Complex<u32>

source§

impl ArgminZeroLike for Complex<u64>

source§

impl<N, R, C> ArgminZeroLike for OMatrix<N, R, C>
where N: Scalar + Zero + ArgminZero, R: Dim, C: Dim, DefaultAllocator: Allocator<N, R, C>,

source§

fn zero_like(&self) -> OMatrix<N, R, C>

source§

impl<T> ArgminZeroLike for Vec<T>
where T: ArgminZeroLike + Clone,

source§

fn zero_like(&self) -> Vec<T>

source§

impl<T> ArgminZeroLike for Array1<T>
where T: Zero + ArgminZero + Clone,

source§

fn zero_like(&self) -> Array1<T>

source§

impl<T> ArgminZeroLike for Array2<T>
where T: Zero + ArgminZero + Clone,

source§

fn zero_like(&self) -> Array2<T>

Implementors§