pub fn adjoint<'a, I: Index, E: ComplexField>(
new_col_ptrs: &'a mut [I],
new_row_indices: &'a mut [I],
new_values: GroupFor<E, &'a mut [E::Unit]>,
A: SparseColMatRef<'_, I, E>,
stack: PodStack<'_>,
) -> SparseColMatMut<'a, I, E>
Expand description
Computes the adjoint of the matrix A
and returns a view over it.
The result is stored in new_col_ptrs
, new_row_indices
and new_values
.
ยงNote
Allows unsorted matrices, producing a sorted output. Duplicate entries are kept, however.