(&self)
| 171 | |
| 172 | impl DesignMatrix<f64> for Matrix<f64> { |
| 173 | fn design_matrix(&self) -> Self { |
| 174 | self.insert_column(0, |
| 175 | &repeat(1.0).take(self.rows()).collect::<Vec<f64>>() |
| 176 | ).unwrap() |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | impl DesignMatrix<f32> for Matrix<f32> { |