ObjFun_OMP_cpp: Objective function
Description
Objective function of the minimization with respect to the cluster centroids
Usage
ObjFun_OMP_cpp(c, W, residue)
Arguments
c
is a cluster centroid 1xn
W
is a frequency matrix mxn
Value
The objective function value
Details
The residue vector is equal to \((Sketch(Data, W) - \sum_{k=1}^K \alpha_k *Sketch(c_k, W))\).