pyCGM2.Math#
derivation#
|
Spline fitting derivation of an array of values. |
|
Spline derivation of an array of values. |
|
First-order differentiation of an array using finite difference method. |
|
First-order differentiation of an array using finite difference method. |
|
First-order derivation of the rotation matrix contained in a list of frames. |
|
Second-order derivation of the rotation matrix contained in a list of frames. |
euler#
|
Correct Euler angles to wrap around the target values. |
|
Decompose a rotation matrix using the XYZ Euler sequence. |
|
Decompose a rotation matrix using the YZX Euler sequence. |
|
Decompose a rotation matrix using the YXZ Euler sequence. |
|
Decompose a rotation matrix using the ZYX Euler sequence. |
|
Decompose a rotation matrix using the ZXY Euler sequence. |
|
Decompose a rotation matrix using the XZY Euler sequence. |
geometry#
|
Compute the angle between two vectors. |
|
Compute a signed angle between two vectors, optionally using a common orthogonal vector. |
|
Compute the opposite (negative) of a vector. |
|
Calculates the line segment pa_pb that is the shortest route between two lines p1_p2 and p3_p4. |
normalisation#
|
Normalise a given data array to have a specified number of rows through linear interpolation. |
numeric#
|
Calculate the root mean square (RMS) along a specified axis of an array. |
|
Generate a skew-symmetric matrix from a given vector. |