Skip to main content

SolverScalar

Trait SolverScalar 

Source
pub trait SolverScalar:
    DeviceRepr
    + Copy
    + 'static
    + Sealed {
    type Real: DeviceRepr + Copy + 'static;
}
Expand description

Scalars supported by cuSOLVER’s Dn S/D/C/Z API.

Required Associated Types§

Source

type Real: DeviceRepr + Copy + 'static

Real-valued associate type for ops that mix scalar and norm (f32 → f32, f64 → f64, Complex32 → f32, Complex64 → f64).

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 SolverScalar for f32

Source§

impl SolverScalar for f64

Source§

impl SolverScalar for Complex32

Source§

impl SolverScalar for Complex64

Implementors§