Trait rust_blas::vector::ops::Rot

source ·
pub trait Rot: Sized {
    // Required method
    fn rot<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(
        x: &mut V,
        y: &mut W,
        cos: &Self,
        sin: &Self
    );
}
Expand description

Applies a Givens rotation matrix to a pair of vectors, where cos is the value of the cosine of the angle in the Givens matrix, and sin is the sine.

Required Methods§

source

fn rot<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( x: &mut V, y: &mut W, cos: &Self, sin: &Self )

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Rot for f32

source§

fn rot<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( x: &mut V, y: &mut W, cos: &f32, sin: &f32 )

source§

impl Rot for f64

source§

fn rot<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( x: &mut V, y: &mut W, cos: &f64, sin: &f64 )

Implementors§