Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_MatrixDouble2 Class Reference

Matrix Matrix.hxx cadex/Geom/Matrix.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_MatrixDouble2:
manufacturingtoolkit.CadExMTK.Geom_Matrix2d

Public Member Functions

 __init__ (self, *args)
 Overload 1: Constructor.
 
 Fill (self, theValue)
 Sets theValue to each element of matrix.
 
 Value (self, *args)
 Overload 1: Returns element by theRow, theCol index.
 
 SetValue (self, theRow, theCol, theValue)
 Sets theValue to the matrix element at the index theRow, theCol.
 
 Column (self, theCol)
 
 Row (self, theRow)
 
 Diagonal (self)
 Returns diagonal elements of the matrix.
 
 SetColumn (self, theCol, theVals)
 
 SetRow (self, theRow, theVals)
 
 SetDiagonal (self, theVals)
 
 IsIdentity (self)
 
 Reset (self)
 
 SetScale (self, theScale)
 
 Add (self, theOther)
 
 Added (self, theOther)
 
 Subtract (self, theOther)
 
 Subtracted (self, theOther)
 
 Multiply (self, *args)
 
 Multiplied (self, *args)
 
 Divide (self, theScalar)
 
 Divided (self, theScalar)
 
 Power (self, theNum)
 
 Powered (self, theNum)
 
 Transpose (self)
 
 Transposed (self)
 
 Invert (self)
 
 Assign (self, theOther)
 
 IsEqual (self, theOther)
 
 __call__ (self, *args)
 
 __disown__ (self)
 

Static Public Member Functions

 Identity ()
 
 Dimension ()
 

Detailed Description

Matrix Matrix.hxx cadex/Geom/Matrix.hxx.

Defines template matrix.

A matrix is used to represent a mathematical matrix, which is a two-dimensional array of numbers. The class provides various methods and functionalities for performing operations on matrices, such as:

  • addition (Add() and Added());
  • subtraction (Subtract() and Subtracted());
  • multiplication (Multiply() and Multiplied());
  • transposition (Transpose() and Transposed());
  • exponentiation (Power() and Powered());
  • division of each element (Divide() and Divided());
See also
Curves, Matrix2d, Matrix3d.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_MatrixDouble2.__init__ ( self,
* args )

Overload 1: Constructor.

|

Overload 2: Constructor.

Reimplemented in manufacturingtoolkit.CadExMTK.Geom_Matrix2d.

Member Function Documentation

◆ Value()

manufacturingtoolkit.CadExMTK.Geom_MatrixDouble2.Value ( self,
* args )

Overload 1: Returns element by theRow, theCol index.

|

Overload 2: Returns element by theRow, theCol index.


The documentation for this class was generated from the following file:
  • CadExMTK.py