Subsections
Unless noted, all functions return either true or false.
identitymatrixp(
) returns true if e is the
identity
matrix for any
.
ketp(
) returns true if the expression e is a ket
(column vector).
brap(
) returns true if the expression e is a bra
(row vector).
braketp(
)
returns (ketp(e) or brap(e)), ie returns true if e is either a ket or
a bra.
square_matp(
) returns true if e is a square matrix.
normalize_vector(
) returns
.
normalize_matrix(
) returns
.
John Lapeyre
2008-09-02