Mat_i.kl

Types

Mat_i (struct)

The Mat_i represents a dense matrix.

/*
** Example: Mat_i
*/

// create a 4 row, 3 column matrix
Mat_i mat(4, 3);

Members

Integer rows  
SInt32[] vals  

Methods

  Mat_i ( in Integer rows, in Integer cols )
  Mat_i ( in Mat_i that )
  Mat_i ()
Boolean almostEqual ? ( in Mat_i that )
Boolean almostEqual ? ( in Mat_i that, in SInt32 precision )
  appendDesc ? ( io String string )
Mat_i clone ? ()
Integer cols ? ()
Boolean equal ? ( in Mat_i that )
SInt32 get ? ( in Integer row, in Integer col )
UInt32 hash ? ()
Mat_i linearInterpolate ? ( in Mat_i that, in SInt32 t )
  resize ! ( in Integer rows, in Integer cols )
Integer rows ? ()
  set ! ( in Integer row, in Integer col, in SInt32 val )
  setAll ! ( in SInt32 val )
  setDiagonal ! ( in Integer size, in SInt32 val )
  setDiagonal ! ( in Vec_i vec )
  setIdentity ! ( in Integer size )
  setNull ! ()
String sizeDesc ? ()
Mat_i sub ? ( in Integer rs, in Integer re, in Integer cs, in Integer ce )
Mat_i topLeft ? ( in Integer rows, in Integer cols )
SInt32 trace ? ()
Mat_i transpose ? ()

Operators

  - Mat_i
Mat_i = ( Param other )