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

Method norm

lib/mpl_toolkits/mplot3d/axes3d.py:4348–4350  ·  view source on GitHub ↗

The 2-norm, q*q', a scalar

(self)

Source from the content-addressed store, hash-verified

4346
4347 @property
4348 def norm(self):
4349 """The 2-norm, q*q', a scalar"""
4350 return self.scalar*self.scalar + np.dot(self.vector, self.vector)
4351
4352 def normalize(self):
4353 """Scaling such that norm equals 1"""

Callers 12

set_aspectMethod · 0.45
set_box_aspectMethod · 0.45
_arcballMethod · 0.45
_on_moveMethod · 0.45
_zoom_data_limitsMethod · 0.45
calc_arrowsMethod · 0.45
quiverMethod · 0.45
rotate_from_toMethod · 0.45
_rotation_about_vectorFunction · 0.45
_view_axesFunction · 0.45
_all_points_on_planeFunction · 0.45
_shade_colorsFunction · 0.45

Calls 1

dotMethod · 0.80

Tested by

no test coverage detected