site/0.6/lib/ccv-algebra/index.html
double ccv_normalize(ccv_matrix_t* a, ccv_matrix_t** b, int btype, int flag)
Normalize a matrix and return the normalize factor.
void ccv_sat(ccv_dense_matrix_t* a, ccv_dense_matrix_t** b, int type, int padding_pattern)
Generate the Summed Area Table.
double ccv_sum(ccv_matrix_t* mat, int flag)
Return the sum of all elements in the matrix.
void ccv_multiply(ccv_matrix_t* a, ccv_matrix_t* b, ccv_matrix_t** c, int type)
Do element-wise matrix multiplication.
void ccv_subtract(ccv_matrix_t* a, ccv_matrix_t* b, ccv_matrix_t** c, int type)
Matrix subtraction.
void ccv_gemm(ccv_matrix_t* a, ccv_matrix_t* b, double alpha, ccv_matrix_t* c, double beta, int transpose, ccv_matrix_t** d, int type)
General purpose matrix multiplication. This function has a hard dependency on cblas library.
As general as it is, it computes:
alpha * A * B + beta * C
whereas A, B, C are matrix, and alpha, beta are scalar.