`import "golang.org/x/image/math/f32"`

Package f32 implements float32 vector and matrix types.

Aff3 is a 3x3 affine transformation matrix in row major order, where the bottom row is implicitly [0 0 1].

m[3*r + c] is the element in the r'th row and c'th column.

Aff4 is a 4x4 affine transformation matrix in row major order, where the bottom row is implicitly [0 0 0 1].

m[4*r + c] is the element in the r'th row and c'th column.

Mat3 is a 3x3 matrix in row major order.

m[3*r + c] is the element in the r'th row and c'th column.

Mat4 is a 4x4 matrix in row major order.

m[4*r + c] is the element in the r'th row and c'th column.

Vec2 is a 2-element vector.

Vec3 is a 3-element vector.

Vec4 is a 4-element vector.

Package f32 is imported by 15 packages. Updated 2020-12-11. Refresh now. Tools for package owners.