| 175 | } |
| 176 | |
| 177 | std::map<unsigned long,double> dense_to_sparse ( |
| 178 | const matrix<double,0,1>& x |
| 179 | ) |
| 180 | { |
| 181 | std::map<unsigned long,double> temp; |
| 182 | for (long i = 0; i < x.size(); ++i) |
| 183 | temp[i] = x(i); |
| 184 | return temp; |
| 185 | } |
| 186 | |
| 187 | void test_running_cross_covariance_sparse() |
| 188 | { |