scipy.maxentropy.maxentutils.dotprod

scipy.maxentropy.maxentutils.dotprod(u, v)

This is a wrapper around general dense or sparse dot products.

It is not necessary except as a common interface for supporting ndarray, scipy spmatrix, and PySparse arrays.

Returns the dot product of the (1 x m) sparse array u with the (m x 1) (dense) numpy array v.

Previous topic

scipy.maxentropy.maxentutils.densefeatures

Next topic

scipy.maxentropy.maxentutils.flatten

This Page