MCPcopy Create free account
hub / github.com/davisking/dlib / apply_cca_transform

Function apply_cca_transform

tools/python/src/cca.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46matrix<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
55void bind_cca(py::module& m)
56{

Callers

nothing calls this directly

Calls 4

max_index_plus_oneFunction · 0.50
transFunction · 0.50
nrMethod · 0.45

Tested by

no test coverage detected