#### Previous topic

scipy.sparse.dia_matrix.diagonal

#### Next topic

scipy.sparse.dia_matrix.expm1

# scipy.sparse.dia_matrix.dot

`dia_matrix.``dot`(other)

  Ordinary dot product

  Examples

      >>> import numpy as np
      >>> from scipy.sparse import csr_matrix
      >>> A = csr_matrix([[1, 2, 0], [0, 0, 3], [4, 0, 5]])
      >>> v = np.array([1, 0, -1])
      >>> A.dot(v)
      array([ 1, -3, -1], dtype=int64)