pub struct Sytrs<TA, TB = TA> { /* private fields */ }Expand description
Typed symmetric or Hermitian solve operation.
Implementations§
Source§impl<TA, TB> Sytrs<TA, TB>where
TA: DataTypeLike,
TB: DataTypeLike,
impl<TA, TB> Sytrs<TA, TB>where
TA: DataTypeLike,
TB: DataTypeLike,
Sourcepub const fn new(fill_mode: FillMode, n: usize, right_hand_sides: usize) -> Self
pub const fn new(fill_mode: FillMode, n: usize, right_hand_sides: usize) -> Self
Creates a typed SYTRS operation.
Sourcepub const fn right_hand_sides(&self) -> usize
pub const fn right_hand_sides(&self) -> usize
Returns the number of right-hand sides.
Sourcepub fn workspace_size(
&self,
ctx: &Context,
factor: MatrixRef<'_, TA>,
pivots: Option<&DeviceMemory<i64>>,
rhs: MatrixRef<'_, TB>,
) -> Result<WorkspaceSizes>
pub fn workspace_size( &self, ctx: &Context, factor: MatrixRef<'_, TA>, pivots: Option<&DeviceMemory<i64>>, rhs: MatrixRef<'_, TB>, ) -> 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, TB: Copy> Copy for Sytrs<TA, TB>
impl<TA: Eq, TB: Eq> Eq for Sytrs<TA, TB>
Source§impl<TA: PartialEq, TB: PartialEq> PartialEq for Sytrs<TA, TB>
impl<TA: PartialEq, TB: PartialEq> PartialEq for Sytrs<TA, TB>
impl<TA: PartialEq, TB: PartialEq> StructuralPartialEq for Sytrs<TA, TB>
Auto Trait Implementations§
impl<TA, TB> Freeze for Sytrs<TA, TB>
impl<TA, TB> RefUnwindSafe for Sytrs<TA, TB>where
TA: RefUnwindSafe,
TB: RefUnwindSafe,
impl<TA, TB> Send for Sytrs<TA, TB>
impl<TA, TB> Sync for Sytrs<TA, TB>
impl<TA, TB> Unpin for Sytrs<TA, TB>
impl<TA, TB> UnsafeUnpin for Sytrs<TA, TB>
impl<TA, TB> UnwindSafe for Sytrs<TA, TB>where
TA: UnwindSafe,
TB: 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