diff -r 05089fbc0310 -r cebedc4a8331 src/nalgebra_support.rs --- a/src/nalgebra_support.rs Tue Dec 31 08:30:43 2024 -0500 +++ b/src/nalgebra_support.rs Sat Dec 21 14:27:14 2024 -0500 @@ -125,15 +125,18 @@ } } -impl<'own,SV1,SV2,SM,N,M,K,E> Adjointable, Matrix> +impl<'own,SV,SM,N,M,E> Adjointable, E> for Matrix -where SM: Storage, SV1: Storage + Clone, SV2: Storage + Clone, - N : Dim, M : Dim, K : Dim, E : Scalar + Zero + One + SimdComplexField, - DefaultAllocator : Allocator, - DefaultAllocator : Allocator, - DefaultAllocator : Allocator, - DefaultAllocator : Allocator { - type AdjointCodomain = OMatrix; +where + SM: Storage, SV: Storage + Clone, + N : Dim, M : Dim, E : Scalar + Zero + One + RealField + Float, + DefaultAllocator : Allocator, + DefaultAllocator : Allocator, + DefaultAllocator : Allocator, + DefaultAllocator : Allocator, + OMatrix : Linear, Codomain = OVector>, +{ + type AdjointCodomain = OVector; type Adjoint<'a> = OMatrix where SM : 'a; #[inline] @@ -242,10 +245,12 @@ impl HasDual for Vector -where M : Dim, - S : Storage + Clone, - E : Float + Scalar + Zero + One + RealField, - DefaultAllocator : Allocator { +where + M : Dim, + S : Storage + Clone, + E : Float + Scalar + Zero + One + RealField, + DefaultAllocator : Allocator +{ // TODO: Doesn't work with different storage formats. type DualSpace = Self; }