Trait FixedDimensional

Source
pub trait FixedDimensional {
    const D: usize;

    // Provided method
    fn check_input(x: Vec<f64>) { ... }
}
Expand description

This is a trait that ensures consistent implementation of benchmark functions with fixed dimensionality

Required Associated Constants§

Source

const D: usize

This is a constant containing the correct dimensionality for the function

Provided Methods§

Source

fn check_input(x: Vec<f64>)

This function is used to check inputs

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.

Implementors§