Katzlab dd76ab1d12 Added PTL2 Scripts
These are PTL2 files from Auden 2/9
2023-02-14 11:20:52 -05:00

16 lines
357 B
C++

#include "cRotationMatrix.h"
#include <cmath>
// eq:rotmat
cRotationMatrix::cRotationMatrix(const size_t size, const int i, const int j, const double phi)
: cOrthonormalMatrix(size), _data(size)
{
// the matrix is, at this stage, eye(size)
_data.RotateAlpha(i,j,phi);
}
const cOrthonormalMatrix& cRotationMatrix::Matrix() const
{
return _data;
}