Formatting
This commit is contained in:
parent
162bb3218d
commit
d88337efa9
|
@ -42,11 +42,11 @@ where
|
||||||
{
|
{
|
||||||
alphar: OVector<T, D>,
|
alphar: OVector<T, D>,
|
||||||
alphai: OVector<T, D>,
|
alphai: OVector<T, D>,
|
||||||
beta: OVector<T, D>,
|
beta: OVector<T, D>,
|
||||||
vsl: OMatrix<T, D, D>,
|
vsl: OMatrix<T, D, D>,
|
||||||
s: OMatrix<T, D, D>,
|
s: OMatrix<T, D, D>,
|
||||||
vsr: OMatrix<T, D, D>,
|
vsr: OMatrix<T, D, D>,
|
||||||
t: OMatrix<T, D, D>,
|
t: OMatrix<T, D, D>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Scalar + Copy, D: Dim> Copy for QZ<T, D>
|
impl<T: Scalar + Copy, D: Dim> Copy for QZ<T, D>
|
||||||
|
@ -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