Trait collenchyma_blas::binary::IBlasBinary [] [src]

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>;
    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;
}

Describes the operation binding for a Blas Binary implementation.

Associated Types

type Asum: IOperationAsum<F>

Describes the Asum Operation.

type Axpy: IOperationAxpy<F>

Describes the Axpy Operation.

type Copy: IOperationCopy<F>

Describes the Copy Operation.

type Dot: IOperationDot<F>

Describes the Dot Operation.

type Nrm2: IOperationNrm2<F>

Describes the Nrm2 Operation.

type Scale: IOperationScale<F>

Describes the Scale Operation.

type Swap: IOperationSwap<F>

Describes the Swap Operation.

Required Methods

fn asum(&self) -> Self::Asum

Returns an initialized Asum operation.

fn axpy(&self) -> Self::Axpy

Returns an initialized Axpy operation.

fn copy(&self) -> Self::Copy

Returns an initialized Copy operation.

fn dot(&self) -> Self::Dot

Returns an initialized Dot operation.

fn nrm2(&self) -> Self::Nrm2

Returns an initialized Nrm2 operation.

fn scale(&self) -> Self::Scale

Returns an initialized Scale operation.

fn swap(&self) -> Self::Swap

Returns an initialized Swap operation.

Implementors