File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 36
36
//! - [Random matrix generators](generate/index.html)
37
37
//! - [Scalar trait](types/trait.Scalar.html)
38
38
39
- pub mod arnoldi;
40
39
pub mod assert;
41
40
pub mod cholesky;
42
41
pub mod convert;
@@ -47,6 +46,7 @@ pub mod generate;
47
46
pub mod inner;
48
47
pub mod lapack;
49
48
pub mod layout;
49
+ pub mod mgs;
50
50
pub mod norm;
51
51
pub mod operator;
52
52
pub mod opnorm;
@@ -66,6 +66,7 @@ pub use eigh::*;
66
66
pub use generate:: * ;
67
67
pub use inner:: * ;
68
68
pub use layout:: * ;
69
+ pub use mgs:: * ;
69
70
pub use norm:: * ;
70
71
pub use operator:: * ;
71
72
pub use opnorm:: * ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl<A: Scalar> MGS<A> {
21
21
/// ```rust
22
22
/// # use ndarray_linalg::*;
23
23
/// const N: usize = 5;
24
- /// let mgs = arnoldi:: MGS::<f32>::new(N);
24
+ /// let mgs = MGS::<f32>::new(N);
25
25
/// assert_eq!(mgs.dim(), N);
26
26
/// assert_eq!(mgs.len(), 0);
27
27
/// ```
@@ -72,7 +72,7 @@ impl<A: Scalar> MGS<A> {
72
72
/// ```rust
73
73
/// # use ndarray::*;
74
74
/// # use ndarray_linalg::*;
75
- /// let mut mgs = arnoldi:: MGS::new(3);
75
+ /// let mut mgs = MGS::new(3);
76
76
/// let coef = mgs.append(array![0.0, 1.0, 0.0], 1e-9).unwrap();
77
77
/// close_l2(&coef, &array![1.0], 1e-9).unwrap();
78
78
///
Original file line number Diff line number Diff line change 1
1
use ndarray:: * ;
2
- use ndarray_linalg:: { arnoldi :: * , * } ;
2
+ use ndarray_linalg:: * ;
3
3
4
4
fn qr_full < A : Scalar + Lapack > ( ) {
5
5
const N : usize = 5 ;
You can’t perform that action at this time.
0 commit comments