pub struct Geqrf<TA, TTau = TA> { /* private fields */ }Expand description
Typed QR factorization operation.
Implementations§
Source§impl<TA, TTau> Geqrf<TA, TTau>where
TA: DataTypeLike,
TTau: DataTypeLike,
impl<TA, TTau> Geqrf<TA, TTau>where
TA: DataTypeLike,
TTau: DataTypeLike,
Sourcepub fn new(rows: usize, cols: usize) -> Self
pub fn new(rows: usize, cols: usize) -> Self
Creates a typed GEQRF operation using the matrix data type as compute type.
Sourcepub const fn with_compute_type(self, compute_type: DataType) -> Self
pub const fn with_compute_type(self, compute_type: DataType) -> Self
Sets the compute type passed to the generic cuSOLVER X API.
Sourcepub const fn compute_type(&self) -> DataType
pub const fn compute_type(&self) -> DataType
Returns the cuSOLVER compute type.
Sourcepub fn workspace_size(
&self,
ctx: &Context,
params: &Params,
a: MatrixRef<'_, TA>,
tau: VectorRef<'_, TTau>,
) -> Result<WorkspaceSizes>
pub fn workspace_size( &self, ctx: &Context, params: &Params, a: MatrixRef<'_, TA>, tau: VectorRef<'_, TTau>, ) -> Result<WorkspaceSizes>
Returns the required device and host workspace sizes.
§Errors
Returns an error if inputs are invalid or if cuSOLVER cannot report the workspace sizes.
Trait Implementations§
impl<TA: Copy, TTau: Copy> Copy for Geqrf<TA, TTau>
impl<TA: Eq, TTau: Eq> Eq for Geqrf<TA, TTau>
Source§impl<TA: PartialEq, TTau: PartialEq> PartialEq for Geqrf<TA, TTau>
impl<TA: PartialEq, TTau: PartialEq> PartialEq for Geqrf<TA, TTau>
impl<TA: PartialEq, TTau: PartialEq> StructuralPartialEq for Geqrf<TA, TTau>
Auto Trait Implementations§
impl<TA, TTau> Freeze for Geqrf<TA, TTau>
impl<TA, TTau> RefUnwindSafe for Geqrf<TA, TTau>where
TA: RefUnwindSafe,
TTau: RefUnwindSafe,
impl<TA, TTau> Send for Geqrf<TA, TTau>
impl<TA, TTau> Sync for Geqrf<TA, TTau>
impl<TA, TTau> Unpin for Geqrf<TA, TTau>
impl<TA, TTau> UnsafeUnpin for Geqrf<TA, TTau>
impl<TA, TTau> UnwindSafe for Geqrf<TA, TTau>where
TA: UnwindSafe,
TTau: 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