Implement affine coordinate transformation
authorChristian Blau <cblau.mail@gmail.com>
Mon, 7 Sep 2020 13:46:40 +0000 (13:46 +0000)
committerChristian Blau <cblau.mail@gmail.com>
Mon, 7 Sep 2020 13:46:40 +0000 (13:46 +0000)
commita9ea8fb0eb71c733631d6c84391f2461ea72764e
treefa631d5eec15f87267a9a23bd58ceaa3ce9f4b98
parent9a9745f278dd8e88feef83f027c56551687ec42c
Implement affine coordinate transformation

Introduce a new class and tests for affine coordinate transformations.
Allows to perform a matrix multiplication and shift to coordinates of the form A*x+t with a 3x3 real valued matrix A and a translation vector t.
src/gromacs/math/coordinatetransformation.cpp
src/gromacs/math/coordinatetransformation.h
src/gromacs/math/matrix.cpp [new file with mode: 0644]
src/gromacs/math/matrix.h
src/gromacs/math/tests/coordinatetransformation.cpp
src/gromacs/math/tests/matrix.cpp