assert_orthogonal_eigenvectorsΒΆ

Checks orthogonality between eigenvectors

param u

Eigenvector 1.

type u

np.ndarray

param v

Eigenvector 2.

type v

np.ndarray

param decimal

Number of decimal points to compare

type decimal

int

param raise_error

Raise an error or print a warning

type raise_error

bool

raises AssertionError

if raise_error == True it raises an error.