MCPcopy Create free account
hub / github.com/Kitware/VTK / abs

Function abs

Wrapping/Python/vtkmodules/numpy_interface/internal_algorithms.py:173–175  ·  view source on GitHub ↗

Returns the absolute values of an array of scalars/vectors/tensors.

(narray)

Source from the content-addressed store, hash-verified

171
172# Python interfaces
173def abs (narray) :
174 "Returns the absolute values of an array of scalars/vectors/tensors."
175 return numpy.abs(narray)
176
177def all (narray, axis=None):
178 "Returns the min value of an array of scalars/vectors/tensors."

Callers 1

normalizeFunction · 0.50

Calls 1

absMethod · 0.45

Tested by

no test coverage detected