Algosim documentation: LinearTransformation

LinearTransformation

Returns a pixmap with a linear transformation applied.

Syntax

Description

LinearTransformation(pm, A) returns pm after the pixels has been moved by the mapping p ↦ A⋅p with the origin of ℝ² at the centre of pm. The canvas of the pixmap is not enlarged or shrunk.

Examples

A ≔ ❨❨1.2, 0.6❩, ❨0.9, 1.4❩❩
⎛1.2  0.6⎞
⎝0.9  1.4⎠
LinearTransformation(ExampleData("Sally"), A)

Image 1

See also