MCPcopy Create free account
hub / github.com/apache/madlib / sum_sdata_values_double

Function sum_sdata_values_double

methods/svec/src/pg_gp/SparseData.c:992–994  ·  view source on GitHub ↗

Computes the running sum of the elements of a SparseData */

Source from the content-addressed store, hash-verified

990
991/* Computes the running sum of the elements of a SparseData */
992double sum_sdata_values_double(SparseData sdata) {
993 return accum_sdata_values_double(sdata, id);
994}
995
996/* Computes the l2 norm of a SparseData */
997double l2norm_sdata_values_double(SparseData sdata) {

Callers 6

svec_summateFunction · 0.85
float8arr_summateFunction · 0.85
svec_svec_dot_productFunction · 0.85
float8arr_dotFunction · 0.85
svec_dot_float8arrFunction · 0.85
float8arr_dot_svecFunction · 0.85

Calls 1

Tested by

no test coverage detected