[][src]Module bader::utils

Misc functions mainly for vector and matrix manipulation.

Functions

cross

compute the dot product between a vector and a matrix

dot

compute the dot product between a vector and a matrix

invert_lattice

calculates the inverse of a 3x3 lattice

norm

compute the norm of a vector

transpose_square

compute M.T * M

vacuum_tolerance

returns the first index that is not vacuum from a sorted index list

vdot

compute the dot product between two vectors