scipy.maxentropy.maxentutils.innerprodtranspose

scipy.maxentropy.maxentutils.innerprodtranspose(A, 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.

Computes A^T V, where A is a dense or sparse matrix and V is a numpy array. If A is sparse, V must be a rank-1 array, not a matrix. This function is efficient for large matrices A. This is a wrapper for u.T.dot(v) for dense arrays and spmatrix objects, and for u.matvec_transp(v, result) for pysparse matrices.

Previous topic

scipy.maxentropy.maxentutils.innerprod

Next topic

scipy.maxentropy.maxentutils.logsumexp

This Page