statalign.model.ext.plugins.structalign
Class Transformation
java.lang.Object
statalign.model.ext.plugins.structalign.Transformation
public class Transformation
- extends java.lang.Object
Method Summary |
double |
density(Transformation candidate,
double kvM,
double kvMF,
double sd)
Calculates the rotation matrix from an axis and angle
with axis x and angle r, the rotation matrix is
cos(r)I + sin(r)cross(x) + (1-cos(r))outer(x)
where cross(x) is the crossproduct matrix of x and outer(x) is the outer (tensor) product |
org.apache.commons.math3.linear.RealMatrix |
getRealRotation()
|
void |
lsTrans(org.apache.commons.math3.linear.RealMatrix A,
org.apache.commons.math3.linear.RealMatrix B)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getRealRotation
public org.apache.commons.math3.linear.RealMatrix getRealRotation()
density
public double density(Transformation candidate,
double kvM,
double kvMF,
double sd)
- Calculates the rotation matrix from an axis and angle
with axis x and angle r, the rotation matrix is
cos(r)I + sin(r)cross(x) + (1-cos(r))outer(x)
where cross(x) is the crossproduct matrix of x and outer(x) is the outer (tensor) product
- Returns:
- Transformation object with rotation matrix calculated from axis and angle
lsTrans
public void lsTrans(org.apache.commons.math3.linear.RealMatrix A,
org.apache.commons.math3.linear.RealMatrix B)