.. include:: headings.inc .. _Matrix2D: ========================================================================================================================================== |phoenix_title| **Matrix2D** ========================================================================================================================================== A simple container for 2x2 matrix. This simple structure is used with :ref:`AffineMatrix2D`. .. versionadded:: 2.9.2 | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **Matrix2D** .. raw:: html

Inheritance diagram of Matrix2D

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~Matrix2D.__init__` Default constructor. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: Matrix2D(object) A simple container for 2x2 matrix. **Possible constructors**:: Matrix2D(v11=1, v12=0, v21=0, v22=1) .. method:: __init__(self, v11=1, v12=0, v21=0, v22=1) Default constructor. Initializes the matrix elements to the identity. :param `v11`: :type `v11`: float :param `v12`: :type `v12`: float :param `v21`: :type `v21`: float :param `v22`: :type `v22`: float