Formatting
This commit is contained in:
parent
162bb3218d
commit
d88337efa9
|
@ -183,12 +183,17 @@ where
|
||||||
where
|
where
|
||||||
DefaultAllocator: Allocator<(Complex<T>, T), D>,
|
DefaultAllocator: Allocator<(Complex<T>, T), D>,
|
||||||
{
|
{
|
||||||
let mut out = Matrix::from_element_generic(self.vsl.shape_generic().0, Const::<1>, (Complex::zero(), T::RealField::zero()));
|
let mut out = Matrix::from_element_generic(
|
||||||
|
self.vsl.shape_generic().0,
|
||||||
|
Const::<1>,
|
||||||
|
(Complex::zero(), T::RealField::zero()),
|
||||||
|
);
|
||||||
|
|
||||||
for i in 0..out.len() {
|
for i in 0..out.len() {
|
||||||
out[i] = (Complex::new(self.alphar[i].clone(),
|
out[i] = (
|
||||||
self.alphai[i].clone()),
|
Complex::new(self.alphar[i].clone(), self.alphai[i].clone()),
|
||||||
self.beta[i].clone())
|
self.beta[i].clone(),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
out
|
out
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
mod cholesky;
|
mod cholesky;
|
||||||
|
mod generalized_eigenvalues;
|
||||||
mod lu;
|
mod lu;
|
||||||
mod qr;
|
mod qr;
|
||||||
mod qz;
|
mod qz;
|
||||||
mod generalized_eigenvalues;
|
|
||||||
mod real_eigensystem;
|
mod real_eigensystem;
|
||||||
mod schur;
|
mod schur;
|
||||||
mod svd;
|
mod svd;
|
||||||
|
|
Loading…
Reference in New Issue