Mat22_i.kl

Types

Mat22_i (struct)

The Mat22_i represents a 2 by 2 matrix. It uses Vec2_i types for each of the 2 rows.

/*
** Example: Construct Mat22_i
*/

// create a matrix 2x2
Vec2_i v0(1.0, 0.0);
Vec2_i v1(0.0, 1.0);
Mat22_i mat(v0, v1);

Members

Vec2_i row0  
Vec2_i row1  

Methods

  Mat22_i ( in Mat22_i other )
  Mat22_i ( in SInt32 _00, in SInt32 _01, in SInt32 _10, in SInt32 _11 )
  Mat22_i ( in Vec2_i row0, in Vec2_i row1 )
  Mat22_i ()
Mat22_i add ? ( in Mat22_i other )
Mat22_i adjoint ? ()
Boolean almostEqual ? ( in Mat22_i other )
Boolean almostEqual ? ( in Mat22_i other, in SInt32 precision )
Mat22_i clone ? ()
SInt32 determinant ? ()
Mat22_i divideSInt32 ? ( in SInt32 other )
Boolean equal ? ( in Mat22_i other )
  get ? ( io Float32 v<> )
  get ? ( io Float32 v<>, in UInt32 o )
  get ? ( io Float32 v[] )
  get ? ( io Float32 v[], in UInt32 o )
  get ? ( io Float64 v<> )
  get ? ( io Float64 v<>, in UInt32 o )
  get ? ( io Float64 v[] )
  get ? ( io Float64 v[], in UInt32 o )
UInt32 hash ? ()
Mat22_i inverse ? ()
Mat22_i multiply ? ( in Mat22_i other )
Mat22_i multiplySInt32 ? ( in SInt32 other )
Vec2_i multiplyVector ? ( in Vec2_i other )
  set ! ( in Float32 v<> )
  set ! ( in Float32 v<>, in UInt32 o )
  set ! ( in Float64 v<> )
  set ! ( in Float64 v<>, in UInt32 o )
  set ! ( in SInt32 _00, in SInt32 _01, in SInt32 _10, in SInt32 _11 )
  setColumns ! ( in Vec2_i col0, in Vec2_i col1 )
  setDiagonal ! ( in SInt32 v )
  setDiagonal ! ( in Vec2_i v )
  setIdentity ! ()
  setNull ! ()
  setRows ! ( in Vec2_i row0, in Vec2_i row1 )
Mat22_i subtract ? ( in Mat22_i other )
Mat22_i transpose ? ()

Operators

Mat22_i = ( Param other )