sc::SymmetryOperation(3)
β¨ NAME β¨
okay so bestie, welcome to the sc::SymmetryOperation(3) page from the MPQC manual π
sc::SymmetryOperation β the SymmetryOperation class provides a 3 by 3 matrix representation of a symmetry operation, such as a rotation or reflection. periodt β¨
π¦ SYNOPSIS π¦
#include <pointgrp.h>
π Public Member Functions π
SymmetryOperation (const SymmetryOperation &)β copy constructor vibes, no cap π«Άdouble trace () constβ returns the trace of the transformation matrix β¨double * operator[] (int i)β returns the i'th row of the transformation matrix πconst double * operator[] (int i) constβ const version of the above, she's the same but with const energy π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 the above, iconic πvoid zero ()β zero out the symop πSymmetryOperation operate (const SymmetryOperation &r) constβ This operates on this with r (i.e. returnr * this).SymmetryOperation transform (const SymmetryOperation &r) constβ This performs the transformr * this * r~.void unit ()β Set equal to a unit matrix.void E ()β Set equal to E.void i ()β Set equal to an inversion.void sigma_h ()β Set equal to reflection in xy plane.void sigma_xz ()β Set equal to reflection in xz plane.void sigma_yz ()β Set equal to reflection in yz plane.void rotation (int n)β Set equal to a clockwise rotation by2pi/n.void rotation (double theta)β the other rotation overload, she's serving double theta πvoid c2_x ()β Set equal to C2 about the x axis.void c2_y ()β Set equal to C2 about the x axis. (yep, the page literally says x axis here, iykyk π)void transpose ()β transpose, slay π¦void print (std::ostream &=ExEnv::out0()) constβ print the matrix π
πΈ Detailed Description πΈ
The SymmetryOperation class provides a 3 by 3 matrix representation of a symmetry operation, such as a rotation or reflection. literally the main character of point group math π
π Author π
Generated automatically by Doxygen for MPQC from the source code. not me being auto-generated and still serving looks π
bestie, this page is from MPQC Version 2.3.1, dated Sun Oct 4 2020 β that's the whole footer tea, mwah π«Άβ¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms