@@ -74,15 +74,15 @@ impl<A: Scalar> MGS<A> {
74
74
/// # use ndarray_linalg::*;
75
75
/// let mut mgs = MGS::new(3);
76
76
/// let coef = mgs.append(array![0.0, 1.0, 0.0], 1e-9).unwrap();
77
- /// close_l2(&coef, &array![1.0], 1e-9).unwrap() ;
77
+ /// close_l2(&coef, &array![1.0], 1e-9);
78
78
///
79
79
/// let coef = mgs.append(array![1.0, 1.0, 0.0], 1e-9).unwrap();
80
- /// close_l2(&coef, &array![1.0, 1.0], 1e-9).unwrap() ;
80
+ /// close_l2(&coef, &array![1.0, 1.0], 1e-9);
81
81
///
82
82
/// assert!(mgs.append(array![1.0, 2.0, 0.0], 1e-9).is_err()); // Fail if the vector is linearly dependend
83
83
///
84
84
/// if let Err(coef) = mgs.append(array![1.0, 2.0, 0.0], 1e-9) {
85
- /// close_l2(&coef, &array![2.0, 1.0, 0.0], 1e-9).unwrap() ; // You can get coefficients of dependent vector
85
+ /// close_l2(&coef, &array![2.0, 1.0, 0.0], 1e-9); // You can get coefficients of dependent vector
86
86
/// }
87
87
/// ```
88
88
pub fn append < S > ( & mut self , a : ArrayBase < S , Ix1 > , rtol : A :: Real ) -> Result < Array1 < A > , Array1 < A > >
@@ -120,7 +120,7 @@ pub enum Strategy {
120
120
/// Orghotonalize dependent vector without adding to Q,
121
121
/// thus R must be non-regular like following:
122
122
///
123
- /// ```ignore
123
+ /// ```text
124
124
/// x x x x x
125
125
/// 0 x x x x
126
126
/// 0 0 0 x x
0 commit comments