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

Function float8arr_to_sdata

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

* @param array The array of doubles to be converted to a SparseData * @param count The size of array * @return A SparseData representation of an input array of doubles */

Source from the content-addressed store, hash-verified

1322 * @return A SparseData representation of an input array of doubles
1323 */
1324SparseData float8arr_to_sdata(double *array, int count) {
1325 return arr_to_sdata((char *)array, sizeof(float8), FLOAT8OID, count);
1326}
1327
1328/**
1329 * @param array The array of elements to be converted to a SparseData

Callers 5

svec_mean_finalFunction · 0.85
makeSparseDataFromDoubleFunction · 0.85
svec_from_float8arrFunction · 0.85
svec_make_scalarFunction · 0.85
svec_cast_float8arrFunction · 0.85

Calls 1

arr_to_sdataFunction · 0.85

Tested by

no test coverage detected