pub struct Trtri<T> { /* private fields */ }Expand description
Typed triangular inverse operation.
Implementations§
Source§impl<T> Trtri<T>where
T: DataTypeLike,
impl<T> Trtri<T>where
T: DataTypeLike,
Sourcepub const fn new(
fill_mode: FillMode,
diagonal_type: DiagonalType,
n: usize,
) -> Self
pub const fn new( fill_mode: FillMode, diagonal_type: DiagonalType, n: usize, ) -> Self
Creates a typed TRTRI operation.
Sourcepub const fn diagonal_type(&self) -> DiagonalType
pub const fn diagonal_type(&self) -> DiagonalType
Returns the diagonal type.
Sourcepub fn workspace_size(
&self,
ctx: &Context,
a: MatrixRef<'_, T>,
) -> Result<WorkspaceSizes>
pub fn workspace_size( &self, ctx: &Context, a: MatrixRef<'_, T>, ) -> Result<WorkspaceSizes>
Returns the required device and host workspace sizes.
§Errors
Returns an error if the matrix shape is invalid or cuSOLVER cannot report the workspace sizes.
Trait Implementations§
impl<T: Copy> Copy for Trtri<T>
impl<T: Eq> Eq for Trtri<T>
impl<T: PartialEq> StructuralPartialEq for Trtri<T>
Auto Trait Implementations§
impl<T> Freeze for Trtri<T>
impl<T> RefUnwindSafe for Trtri<T>where
T: RefUnwindSafe,
impl<T> Send for Trtri<T>where
T: Send,
impl<T> Sync for Trtri<T>where
T: Sync,
impl<T> Unpin for Trtri<T>where
T: Unpin,
impl<T> UnsafeUnpin for Trtri<T>
impl<T> UnwindSafe for Trtri<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