### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Maximum entropy models (`scipy.maxentropy`) »

# 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.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Maximum entropy models (`scipy.maxentropy`) »