pub struct Ormqr<T> { /* private fields */ }Expand description
Typed operation that applies QR reflectors to a matrix.
Implementations§
Source§impl<T> Ormqr<T>where
T: OrmqrScalar,
impl<T> Ormqr<T>where
T: OrmqrScalar,
Sourcepub const fn new(
side: SideMode,
operation: Operation,
rows: usize,
cols: usize,
reflectors: usize,
) -> Self
pub const fn new( side: SideMode, operation: Operation, rows: usize, cols: usize, reflectors: usize, ) -> Self
Creates a typed ORMQR/UNMQR operation.
Sourcepub const fn operation(&self) -> Operation
pub const fn operation(&self) -> Operation
Returns the operation applied to the reflector product.
Sourcepub const fn reflectors(&self) -> usize
pub const fn reflectors(&self) -> usize
Returns the number of elementary reflectors.
Sourcepub fn workspace_len(
&self,
ctx: &Context,
reflectors: MatrixRef<'_, T>,
tau: VectorRef<'_, T>,
matrix: MatrixRef<'_, T>,
) -> Result<usize>
pub fn workspace_len( &self, ctx: &Context, reflectors: MatrixRef<'_, T>, tau: VectorRef<'_, T>, matrix: MatrixRef<'_, T>, ) -> Result<usize>
Returns the required legacy workspace length in elements.
§Errors
Returns an error if inputs are invalid or if cuSOLVER cannot report the workspace length.
Trait Implementations§
impl<T: Copy> Copy for Ormqr<T>
impl<T: Eq> Eq for Ormqr<T>
impl<T: PartialEq> StructuralPartialEq for Ormqr<T>
Auto Trait Implementations§
impl<T> Freeze for Ormqr<T>
impl<T> RefUnwindSafe for Ormqr<T>where
T: RefUnwindSafe,
impl<T> Send for Ormqr<T>where
T: Send,
impl<T> Sync for Ormqr<T>where
T: Sync,
impl<T> Unpin for Ormqr<T>where
T: Unpin,
impl<T> UnsafeUnpin for Ormqr<T>
impl<T> UnwindSafe for Ormqr<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more