pub struct Ormtr<T> { /* private fields */ }Expand description
Typed operation that applies tridiagonalization factors to a matrix.
Implementations§
Source§impl<T> Ormtr<T>where
T: OrmtrScalar,
impl<T> Ormtr<T>where
T: OrmtrScalar,
Sourcepub const fn new(
side: SideMode,
fill_mode: FillMode,
operation: Operation,
rows: usize,
cols: usize,
) -> Self
pub const fn new( side: SideMode, fill_mode: FillMode, operation: Operation, rows: usize, cols: usize, ) -> Self
Creates a typed ORMTR/UNMTR operation.
Sourcepub const fn side(&self) -> SideMode
pub const fn side(&self) -> SideMode
Returns which side receives the tridiagonalization factor product.
Sourcepub const fn operation(&self) -> Operation
pub const fn operation(&self) -> Operation
Returns the operation applied to the factor product.
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 Ormtr<T>
impl<T: Eq> Eq for Ormtr<T>
impl<T: PartialEq> StructuralPartialEq for Ormtr<T>
Auto Trait Implementations§
impl<T> Freeze for Ormtr<T>
impl<T> RefUnwindSafe for Ormtr<T>where
T: RefUnwindSafe,
impl<T> Send for Ormtr<T>where
T: Send,
impl<T> Sync for Ormtr<T>where
T: Sync,
impl<T> Unpin for Ormtr<T>where
T: Unpin,
impl<T> UnsafeUnpin for Ormtr<T>
impl<T> UnwindSafe for Ormtr<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