Trait coaster_blas::binary::IBlasBinary
source · pub trait IBlasBinary<F> {
type Asum: IOperationAsum<F>;
type Axpy: IOperationAxpy<F>;
type Copy: IOperationCopy<F>;
type Dot: IOperationDot<F>;
type Nrm2: IOperationNrm2<F>;
type Scale: IOperationScale<F>;
type Swap: IOperationSwap<F>;
// Required methods
fn asum(&self) -> Self::Asum;
fn axpy(&self) -> Self::Axpy;
fn copy(&self) -> Self::Copy;
fn dot(&self) -> Self::Dot;
fn nrm2(&self) -> Self::Nrm2;
fn scale(&self) -> Self::Scale;
fn swap(&self) -> Self::Swap;
}
Expand description
Describes the operation binding for a Blas Binary implementation.
Required Associated Types§
sourcetype Asum: IOperationAsum<F>
type Asum: IOperationAsum<F>
Describes the Asum Operation.
sourcetype Axpy: IOperationAxpy<F>
type Axpy: IOperationAxpy<F>
Describes the Axpy Operation.
sourcetype Copy: IOperationCopy<F>
type Copy: IOperationCopy<F>
Describes the Copy Operation.
sourcetype Dot: IOperationDot<F>
type Dot: IOperationDot<F>
Describes the Dot Operation.
sourcetype Nrm2: IOperationNrm2<F>
type Nrm2: IOperationNrm2<F>
Describes the Nrm2 Operation.
sourcetype Scale: IOperationScale<F>
type Scale: IOperationScale<F>
Describes the Scale Operation.
sourcetype Swap: IOperationSwap<F>
type Swap: IOperationSwap<F>
Describes the Swap Operation.