pub struct EigDescriptor<'a, T: Scalar> {
pub n: usize,
pub a: &'a [T],
pub w: &'a mut [T::Complex],
pub v: &'a mut [T::Complex],
pub order: MemoryOrder,
pub policy: ExecPolicy,
}Expand description
General eigenvalue decomposition descriptor
Computes eigenvalues and right eigenvectors of an n×n matrix A.
Data layout (A, V slices) is specified by the order field;
a backend that does not support a given order returns
BackendError::InvalidArgument.
Outputs are always complex: W (n complex eigenvalues), V (n×n eigenvectors)
Fields§
§n: usizeDimension of the square matrix A.
a: &'a [T]Input matrix A (n×n).
w: &'a mut [T::Complex]Output complex eigenvalues W (n).
v: &'a mut [T::Complex]Output complex right eigenvectors V (n×n).
order: MemoryOrderMemory layout of the matrix slices.
policy: ExecPolicyPer-call execution policy.
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for EigDescriptor<'a, T>
impl<'a, T> Freeze for EigDescriptor<'a, T>
impl<'a, T> RefUnwindSafe for EigDescriptor<'a, T>
impl<'a, T> Send for EigDescriptor<'a, T>
impl<'a, T> Sync for EigDescriptor<'a, T>
impl<'a, T> Unpin for EigDescriptor<'a, T>
impl<'a, T> UnsafeUnpin for EigDescriptor<'a, T>
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