User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_squarematrix

TGIS_SquareMatrix class

DK11 for Python | tatukgis.pdk.TGIS_SquareMatrix | Classes | Constructors | Methods | Properties

Square matrix of double precision real numbers.

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
class TGIS_SquareMatrix:

Constructors

Inherited Overrides Protected
Name Visibility Description
__init__() public Creates an instance.
__init__(int) public Creates an instance.
__init__(TGIS_Matrix) public Creates an instance.

Methods

Inherited Overrides Protected
Name Visibility Description
Add3DTranslation(float, float, float) public Adds translation to a 4D rotation-translation matrix; increases dimension to 4 if smaller, does not change dimension if larger than 4.
Add3DTranslation(TGIS_Vector) public Adds translation to a 4D rotation-translation matrix; increases dimension to 4 if smaller, does not change dimension if larger than 4.
Clone public Clones the matrix.
Cofactor public Computes the cofactor (minor) of the specified matrix element.
Determinant public Computes the determinant of the matrix.
Equal public Checks if the supplied matrix is equal to the current matrix.
Invert public Inverts the matrix.
LUDecomposition public Computes the LU (Crout) decomposition of the matrix.
Make2DRotation public Makes the 2D rotation matrix.
Make3DRotationX public Makes the 3D rotation matrix around the X axis; increases dimension to 3 if smaller, does not change dimension if larger than 3.
Make3DRotationY public Makes the 3D rotation matrix around the Y axis; increases dimension to 3 if smaller, does not change dimension if larger than 3.
Make3DRotationZ public Makes a 3D rotation matrix around the Z axis; increases dimension to 3 if smaller, does not change dimension if larger than 3.
MakeIdentity public Makes the identity matrix.
Multiply(TGIS_SquareMatrix) public Multiplies the supplied matrix by the current matrix.
Multiply(TGIS_Vector) public Multiplies the supplied vector by the current matrix.
MultiplyBy public Multiplies the matrix by a double precision real number.
Solve public Solves a system of linear equations of the form Matrix * unknown vector = known vector.
Transpose public Transposes the matrix.

Properties

Inherited Protected
Name Visibility Description
Dimension public The dimension (number of rows/columns) of the matrix.
Element public The value of the matrix element.
Row public Gives access to the whole matrix row.

2023/08/09 01:59

Page Tools