sc_SymRep3
The symrep class provides an n dimensional matrix representation of a symmetry operation, such as a rotation or reflection.
Usage
Public Member Functions
SymRep (int=0)
SymRep (const
SymmetryOperation
&)
operator SymmetryOperation
()
const
Cast to
a
SymmetryOperation.
double
trace
()
const
returns the
trace
of
the
transformation
matrix
void
set_dim
(int
i)
set the
dimension
of
d
double
*
operator
[]
(int
i)
returns the
i'th
row
of
the
transformation
matrix
const
double
*
operator
[]
(int
i)
const
const version
of
the
above
double
&
operator()
(int
i,
int
j)
returns a
reference
to
the
(i,j)th
element
of
the
transformation
matrix
double
operator()
(int
i,
int
j)
const
const version
of
double&
operator()(int
i,
int
j)
void
zero
()
zero out
the
symop
SymRep
operate
(const
SymRep
&r)
const
This operates
on
this
with
r
(i.e.
return
r
*
this).
SymRep
transform
(const
SymRep
&r)
const
This performs
the
transform
r
*
this
*
r~.
void
unit
()
Set equal
to
a
clockwise
rotation
by
2pi/n.
void
rotation
(double
theta)
void c2_x
()
print the
matrix
Detailed Description
The SymRep class provides an n dimensional matrix representation of a symmetry operation, such as a rotation or reflection.
The trace of a SymRep can be used as the character for that symmetry operation. d is hardwired to 5x5 since the H irrep in Ih is 5 dimensional.
History
- Debian 12 (Bookworm): the text shown here
- Debian 11 (Bullseye)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)
- Debian 3.1 (Sarge)