We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5f87f commit 161cb13Copy full SHA for 161cb13
src/lib.rs
@@ -35,6 +35,7 @@ pub mod vector;
35
pub mod matrix;
36
pub mod square;
37
pub mod hermite;
38
+pub mod triangular;
39
40
pub mod qr;
41
pub mod svd;
src/prelude.rs
@@ -3,3 +3,4 @@ pub use vector::Vector;
3
pub use matrix::Matrix;
4
pub use square::SquareMatrix;
5
pub use hermite::HermiteMatrix;
6
+pub use triangular::TriangularMatrix;
src/triangular.rs
@@ -0,0 +1,8 @@
1
+
2
+use matrix::Matrix;
+use square::SquareMatrix;
+pub trait TriangularMatrix: Matrix + SquareMatrix {
+ fn solve_upper(&self, Self::Vector) -> Self::Vector;
7
+ fn solve_lower(&self, Self::Vector) -> Self::Vector;
8
+}
0 commit comments