MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / dot

Method dot

lib/matplotlib/tri/_triinterpolate.py:1229–1237  ·  view source on GitHub ↗

Dot product of self by a vector *V* in sparse-dense to dense format *V* dense vector of shape (self.m,).

(self, V)

Source from the content-addressed store, hash-verified

1227 self.cols = np.asarray(cols, dtype=np.int32)
1228
1229 def dot(self, V):
1230 """
1231 Dot product of self by a vector *V* in sparse-dense to dense format
1232 *V* dense vector of shape (self.m,).
1233 """
1234 assert V.shape == (self.m,)
1235 return np.bincount(self.rows,
1236 weights=self.vals*V[self.cols],
1237 minlength=self.m)
1238
1239 def compress_csc(self):
1240 """

Callers 15

get_projMethod · 0.80
voxelsMethod · 0.80
errorbarMethod · 0.80
__mul__Method · 0.80
normMethod · 0.80
rotate_from_toMethod · 0.80
_view_axesFunction · 0.80
_view_transformation_uvwFunction · 0.80
_proj_transform_vecFunction · 0.80
_proj_transform_vec_clipFunction · 0.80
inv_transformFunction · 0.80

Calls

no outgoing calls

Tested by 8

_test_proj_make_MFunction · 0.64
test_quaternionFunction · 0.64
test_acorrFunction · 0.64
test_acorr_integersFunction · 0.64
test_arc_ellipseFunction · 0.64
test_triinterpFunction · 0.64