Computes the l2 norm of a SparseData */
| 995 | |
| 996 | /* Computes the l2 norm of a SparseData */ |
| 997 | double l2norm_sdata_values_double(SparseData sdata) { |
| 998 | return sqrt(accum_sdata_values_double(sdata, square)); |
| 999 | } |
| 1000 | |
| 1001 | /* Computes the l1 norm of a SparseData */ |
| 1002 | double l1norm_sdata_values_double(SparseData sdata) { |
no test coverage detected