DK for ActiveX | TatukGIS_XDK11.ITGIS_SquareMatrix | Interfaces | Methods | Properties
Square matrix of double precision real numbers.
// C# public interface ITGIS_SquareMatrix: ITBaseObject { }
' VisualBasic Public Interface ITGIS_SquareMatrix Implements ITBaseObject End Class
// Oxygene type ITGIS_SquareMatrix = public interface( ITBaseObject ) end;
| Name | Visibility | Description | |
|---|---|---|---|
| Add3DTranslation | public | Adds translation to a 4D rotation-translation matrix; increases dimension to 4 if smaller, does not change dimension if larger than 4. | |
| Add3DTranslation_2 | public | Adds translation to a 4D rotation-translation matrix; increases dimension to 4 if smaller, does not change dimension if larger than 4. | |
| AttachDelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| Clone | public | Creates an exact copy of the matrix. | |
| Cofactor | public | Computes the cofactor (minor) of the specified matrix element. | |
| Create_ | public | Creates a square matrix instance with the specified dimension. | |
| Create_2 | public | Creates a square matrix instance from source matrix data. | |
| DelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| 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 in place. | |
| 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 | Replaces the matrix with an identity matrix. | |
| Multiply | public | Multiplies the current matrix by the supplied matrix. | |
| MultiplyBy | public | Multiplies the matrix by a double precision real number. | |
| Multiply_2 | public | Multiplies the current matrix by the supplied vector. | |
| Solve | public | Solves a linear system of the form matrix * unknown vector = known vector. | |
| Transpose | public | Transposes the matrix. | |
| 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. | |
PURPOSE: Represents a square matrix for transformation, decomposition, inversion, determinant calculation, and solving linear equation systems.
BEHAVIOR: Stores Double values in a square row-column layout. TheDimension property is the number of rows and columns. Methods support identity setup, 2D and 3D transformation matrix construction, LU decomposition, matrix and vector multiplication, and solving for an unknown vector from a known vector.
USAGE: Use this class when square-matrix operations are required.
matrix = TGIS_SquareMatrix(3) matrix.MakeIdentity() determinant = matrix.Determinant()
CONSTRAINTS: This class supports square matrices only. When created from a non-square source matrix, source data is truncated to the smaller dimension.