Taxpy

Trait Taxpy 

Source
pub trait Taxpy: Scalar {
    // Required method
    unsafe fn axpy(
        n: i32,
        alpha: Self,
        x: &[Self],
        incx: i32,
        y: &mut [Self],
        incy: i32,
    );
}

Required Methods§

Source

unsafe fn axpy( n: i32, alpha: Self, x: &[Self], incx: i32, y: &mut [Self], incy: i32, )

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

Source§

unsafe fn axpy( n: i32, alpha: Self, x: &[Self], incx: i32, y: &mut [Self], incy: i32, )

Source§

impl Taxpy for f64

Source§

unsafe fn axpy( n: i32, alpha: Self, x: &[Self], incx: i32, y: &mut [Self], incy: i32, )

Implementors§