#[repr(u32)]pub enum Operation {
NonTranspose = 0,
Transpose = 1,
ConjugateTranspose = 2,
Conjugate = 3,
}Expand description
Selects the operation to perform with a dense matrix.
This corresponds to BLAS N/n (non-transpose), T/t (transpose), and
C/c (conjugate transpose) arguments.
Variants§
NonTranspose = 0
Non-transpose operation.
Transpose = 1
Transpose operation.
ConjugateTranspose = 2
Conjugate transpose operation.
Conjugate = 3
Implementations§
Trait Implementations§
Source§impl From<Operation> for cublasOperation_t
impl From<Operation> for cublasOperation_t
Source§impl From<cublasOperation_t> for Operation
impl From<cublasOperation_t> for Operation
Source§fn from(value: cublasOperation_t) -> Self
fn from(value: cublasOperation_t) -> Self
Converts to this type from the input type.
Source§impl TryFromPrimitive for Operation
impl TryFromPrimitive for Operation
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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