# Notation¶

For physical quantities we use the notation , where is a physical quantity of frame C with respect to frame B expressed in frame A, where frame refers to a reference frame or coordinate system that is defined by three orthonormal basis vectors and a position in three-dimensional space. For example, is the translation of C with respect to B measured in A or is the orientation vector of C with respect to B measured in A.

Since represents a vector or translation from frame B to frame C expressed in frame A, the position of a point with respect to a frame A in three-dimensional space can be defined by .

When we define a mapping from some frame A to another frame B that can be expressed as a matrix multiplication, we use the notation for the corresponding matrix. We can read this from right to left as a matrix that maps from frame A to frame B through multiplication, for example, when we want to transform a point by ## Representations¶

We can use many different representations of rotation and / or translation. Here is an overview of the representations that are available in pytransform3d. All representations are stored in NumPy arrays, of which the corresponding shape is shown in this table. You will find more details on these representations on the following pages.

Representation and Mathematical Symbol

NumPy Array Shape

Rotation

Translation

Rotation matrix (3, 3)

X

Compact axis-angle (3,)

X

Axis-angle (4,)

X

Logarithm of rotation (3, 3)

X

Quaternion (4,)

X

Rotor (4,)

X

Euler angles (3,)

X

Transformation matrix (4, 4)

X

X

Exponential coordinates (6,)

X

X

Logarithm of transformation (4, 4)

X

X

Position and quaternion (7,)

X

X

Dual quaternion (8,)

X

X

## Duality of Transformations and Poses¶

We can use a transformation matrix that represents a transformation from frame A to frame B to represent the pose (position and orientation) of frame A in frame B (if we use the active transformation convention; see Transformation Ambiguities and Conventions for details). This is just a different interpretation of the same matrix and similar to our interpretation of a vector from A to P as a point .