User Tools

Site Tools


2x2_matrix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
2x2_matrix [2022/04/30 13:10]
max
2x2_matrix [2022/05/25 11:02] (current)
max correct access methods
Line 5: Line 5:
 The values of the matrix are stored in such a way that you can access them both by the ''[]'' operator, and as member variables. The values of the matrix are stored in such a way that you can access them both by the ''[]'' operator, and as member variables.
  
-As variables:+As an array:
 <code c> <code c>
 float ImpulsePhysics::Matrix2x2::Determinant() const { float ImpulsePhysics::Matrix2x2::Determinant() const {
Line 12: Line 12:
 </code> </code>
  
-As an array:+As variables:
 <code c> <code c>
 float ImpulsePhysics::Matrix2x2::Determinant() const { float ImpulsePhysics::Matrix2x2::Determinant() const {
Line 30: Line 30:
  
 As part of the ''ImpulsePhysics::Matrices'' namespace, you also get access to these utility functions: As part of the ''ImpulsePhysics::Matrices'' namespace, you also get access to these utility functions:
-  * ''Cut2x2'', which 'cuts' a 2x2 matrix out of a 3x3 matrix+  * ''Cut2x2'', which 'cuts' a 2x2 matrix out of a [[3x3_matrix|3x3 matrix]]
   * ''Minor''   * ''Minor''
   * ''Cofactor''   * ''Cofactor''
2x2_matrix.1651324241.txt.gz ยท Last modified: 2022/04/30 13:10 by max