pub trait Tensor {
// Required method
fn tensor_product(&self, other: &Self) -> Self;
}Expand description
Is implemented by matrices to compute the tensor product.
Required Methods§
Sourcefn tensor_product(&self, other: &Self) -> Self
fn tensor_product(&self, other: &Self) -> Self
Computes the tensor product of self with other
Parameters:
other: the value with which the tensor product is computed.
Returns the tensor product
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.