Computes the gradient of the negative log likelihood for a mixture model.
Synopsis
g = demgpot(x, mix)
Description
This function computes the gradient of the negative log of the unconditional data
density p(x) for a Gaussian mixture model. The data structure
mix defines the mixture model, while the matrix x contains
the data vectors.