vtkmodules.numpy_interface.internal_algorithms#

Module Contents#

Functions#

_cell_derivatives

_cell_quality

_matrix_math_filter

abs

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

all

Returns the min value of an array of scalars/vectors/tensors.

area

Returns the surface area of each cell in a mesh.

aspect

Returns the aspect ratio of each cell in a mesh.

aspect_gamma

Returns the aspect ratio gamma of each cell in a mesh.

condition

Returns the condition number of each cell in a mesh.

cross

Return the cross product for two 3D vectors from two arrays of 3D vectors.

curl

Returns the curl of an array of 3D vectors.

divergence

Returns the divergence of an array of 3D vectors.

det

Returns the determinant of an array of 2D square matrices.

determinant

Returns the determinant of an array of 2D square matrices.

diagonal

Returns the diagonal length of each cell in a dataset.

dot

Returns the dot product of two scalars/vectors of two array of scalars/vectors.

eigenvalue

Returns the eigenvalue of an array of 2D square matrices.

eigenvector

Returns the eigenvector of an array of 2D square matrices.

gradient

Returns the gradient of an array of scalars/vectors.

inv

Returns the inverse an array of 2D square matrices.

inverse

Returns the inverse of an array of 2D square matrices.

jacobian

Returns the jacobian of an array of 2D square matrices.

laplacian

Returns the jacobian of an array of scalars.

ln

Returns the natural logarithm of an array of scalars/vectors/tensors.

log

Returns the natural logarithm of an array of scalars/vectors/tensors.

log10

Returns the base 10 logarithm of an array of scalars/vectors/tensors.

max

Returns the maximum value of an array of scalars/vectors/tensors.

max_angle

Returns the maximum angle of each cell in a dataset.

mag

Returns the magnigude of an array of scalars/vectors.

matmul

Return the product of the inputs. Inputs can be vectors/tensors.

mean

Returns the mean value of an array of scalars/vectors/tensors.

min

Returns the min value of an array of scalars/vectors/tensors.

min_angle

Returns the minimum angle of each cell in a dataset.

norm

Returns the normalized values of an array of scalars/vectors.

shear

Returns the shear of each cell in a dataset.

skew

Returns the skew of each cell in a dataset.

strain

Returns the strain of an array of 3D vectors.

sum

Returns the min value of an array of scalars/vectors/tensors.

surface_normal

Returns the surface normal of each cell in a dataset.

trace

Returns the trace of an array of 2D square matrices.

var

Returns the mean value of an array of scalars/vectors/tensors.

volume

Returns the volume of each cell in a dataset.

vorticity

Returns the vorticity/curl of an array of 3D vectors.

vertex_normal

Returns the vertex normal of each point in a dataset.

make_vector

API#

vtkmodules.numpy_interface.internal_algorithms._cell_derivatives(narray, dataset, attribute_type, filter)#
vtkmodules.numpy_interface.internal_algorithms._cell_quality(dataset, quality)#
vtkmodules.numpy_interface.internal_algorithms._matrix_math_filter(narray, operation)#
vtkmodules.numpy_interface.internal_algorithms.abs(narray)#

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

vtkmodules.numpy_interface.internal_algorithms.all(narray, axis=None)#

Returns the min value of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.area(dataset)#

Returns the surface area of each cell in a mesh.

vtkmodules.numpy_interface.internal_algorithms.aspect(dataset)#

Returns the aspect ratio of each cell in a mesh.

vtkmodules.numpy_interface.internal_algorithms.aspect_gamma(dataset)#

Returns the aspect ratio gamma of each cell in a mesh.

vtkmodules.numpy_interface.internal_algorithms.condition(dataset)#

Returns the condition number of each cell in a mesh.

vtkmodules.numpy_interface.internal_algorithms.cross(x, y)#

Return the cross product for two 3D vectors from two arrays of 3D vectors.

vtkmodules.numpy_interface.internal_algorithms.curl(narray, dataset=None)#

Returns the curl of an array of 3D vectors.

vtkmodules.numpy_interface.internal_algorithms.divergence(narray, dataset=None)#

Returns the divergence of an array of 3D vectors.

vtkmodules.numpy_interface.internal_algorithms.det(narray)#

Returns the determinant of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.determinant(narray)#

Returns the determinant of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.diagonal(dataset)#

Returns the diagonal length of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.dot(a1, a2)#

Returns the dot product of two scalars/vectors of two array of scalars/vectors.

vtkmodules.numpy_interface.internal_algorithms.eigenvalue(narray)#

Returns the eigenvalue of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.eigenvector(narray)#

Returns the eigenvector of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.gradient(narray, dataset=None)#

Returns the gradient of an array of scalars/vectors.

vtkmodules.numpy_interface.internal_algorithms.inv(narray)#

Returns the inverse an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.inverse(narray)#

Returns the inverse of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.jacobian(dataset)#

Returns the jacobian of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.laplacian(narray, dataset=None)#

Returns the jacobian of an array of scalars.

vtkmodules.numpy_interface.internal_algorithms.ln(narray)#

Returns the natural logarithm of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.log(narray)#

Returns the natural logarithm of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.log10(narray)#

Returns the base 10 logarithm of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.max(narray, axis=None)#

Returns the maximum value of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.max_angle(dataset)#

Returns the maximum angle of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.mag(a)#

Returns the magnigude of an array of scalars/vectors.

vtkmodules.numpy_interface.internal_algorithms.matmul(a, b)#

Return the product of the inputs. Inputs can be vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.mean(narray, axis=None)#

Returns the mean value of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.min(narray, axis=None)#

Returns the min value of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.min_angle(dataset)#

Returns the minimum angle of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.norm(a)#

Returns the normalized values of an array of scalars/vectors.

vtkmodules.numpy_interface.internal_algorithms.shear(dataset)#

Returns the shear of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.skew(dataset)#

Returns the skew of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.strain(narray, dataset=None)#

Returns the strain of an array of 3D vectors.

vtkmodules.numpy_interface.internal_algorithms.sum(narray, axis=None)#

Returns the min value of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.surface_normal(dataset)#

Returns the surface normal of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.trace(narray)#

Returns the trace of an array of 2D square matrices.

vtkmodules.numpy_interface.internal_algorithms.var(narray, axis=None)#

Returns the mean value of an array of scalars/vectors/tensors.

vtkmodules.numpy_interface.internal_algorithms.volume(dataset)#

Returns the volume of each cell in a dataset.

vtkmodules.numpy_interface.internal_algorithms.vorticity(narray, dataset=None)#

Returns the vorticity/curl of an array of 3D vectors.

vtkmodules.numpy_interface.internal_algorithms.vertex_normal(dataset)#

Returns the vertex normal of each point in a dataset.

vtkmodules.numpy_interface.internal_algorithms.make_vector(ax, ay, az=None)#