MCPcopy Create free account
hub / github.com/densechen/CASS / vector_norm

Function vector_norm

lib/transformations.py:1688–1724  ·  view source on GitHub ↗

Return length, i.e. Euclidean norm, of ndarray along axis. >>> v = numpy.random.random(3) >>> n = vector_norm(v) >>> numpy.allclose(n, numpy.linalg.norm(v)) True >>> v = numpy.random.rand(6, 5, 3) >>> n = vector_norm(v, axis=-1) >>> numpy.allclose(n, numpy.sqrt(numpy.sum

(data, axis=None, out=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

scale_from_matrixFunction · 0.85
projection_from_matrixFunction · 0.85
shear_from_matrixFunction · 0.85
decompose_matrixFunction · 0.85
quaternion_about_axisFunction · 0.85
__init__Method · 0.85
angle_between_vectorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected