scipy.sparse.csc_matrix. 点# csc_matrix.dot(other)[源代码]# 普通点积 示例 Try it in your browser! >>> import numpy as np >>> from scipy.sparse import csr_array >>> A = csr_array([[1, 2, 0], [0, 0, 3], [4, 0, 5]]) >>> v = np.array([1, 0, -1]) >>> A.dot(v) array([ 1, -3, -1], dtype=int64) Go BackOpen In Tab