### Navigation

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

# scipy.maxentropy.dotprod

`scipy.maxentropy.``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 |
- next |
- previous |
- SciPy v0.7 Reference Guide (DRAFT) »
- Maximum entropy models (`scipy.maxentropy`) »