Utilities#

Utility functions and classes for dolphindes.

This package provides various utility functions including class utilities, mathematical operations, and geometry utilities.

Functions#

check_attributes(self, *attrs)

Check that specified attributes are not None.

CRdot(v1, v2)

Compute the inner product of two complex vectors over a real field.

Sym(A)

Compute the symmetric Hermitian part of a matrix A.

validate_bool_mask(mask, name, *[, shape, size])

Validate that mask is a boolean NumPy array of the expected extent.

validate_numeric_array(arr, name, *[, ...])

Validate that arr is a numeric NumPy array of the expected extent.

Classes#

Projectors(Plist, Pstruct[, force_general])

Class to handle sparse shared projectors.