| 44 | } |
| 45 | |
| 46 | matrix<double,0,1> apply_cca_transform ( |
| 47 | const matrix<double>& m, |
| 48 | const sparse_vect& v |
| 49 | ) |
| 50 | { |
| 51 | pyassert((long)max_index_plus_one(v) <= m.nr(), "Invalid Inputs"); |
| 52 | return sparse_matrix_vector_multiply(trans(m), v); |
| 53 | } |
| 54 | |
| 55 | void bind_cca(py::module& m) |
| 56 | { |
nothing calls this directly
no test coverage detected