Scalar

Trait Scalar 

Source
pub trait Scalar:
    ScalarBase
    + ElementOpApply
    + ComplexField { }
Expand description

Trait alias for element types supported by einsum operations.

When the faer feature is enabled, this additionally requires faer::ComplexField so that the faer GEMM backend can be used.

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§

Source§

impl<T> Scalar for T
where T: ScalarBase + ElementOpApply + ComplexField,

Available on crate feature faer and neither crate feature blas nor crate feature blas-inject only.