B2G/gecko/browser/devtools/tilt/TiltMath.jsm
/**
   * Returns a string representation of a 3x3 matrix.
   *
   * @param {Array} aMat
   *                mat3 to represent as a string
   *
   * @return {String} representation of the matrix
   */
Returns a string representation of a 3x3 matrix.
@param {Array} aMat
mat3 to represent as a string

@return {String} representation of the matrix
Returns a string representation of a 3x3 matrix . @param { Array } aMat mat3 to represent as a string @return { String } representation of the matrix
function M3_str(aMat)
  {
    return "["  + aMat[0] + ", " + aMat[1] + ", " + aMat[2] +
           ", " + aMat[3] + ", " + aMat[4] + ", " + aMat[5] +
           ", " + aMat[6] + ", " + aMat[7] + ", " + aMat[8] + "]";
  }
function M3_str ( aMat ) { return "[" + aMat [ 0 ] + ", " + aMat [ 1 ] + ", " + aMat [ 2 ] + ", " + aMat [ 3 ] + ", " + aMat [ 4 ] + ", " + aMat [ 5 ] + ", " + aMat [ 6 ] + ", " + aMat [ 7 ] + ", " + aMat [ 8 ] + "]" ; }
Returns a string representation of a 3x3 matrix.
Returns a string representation of a 3x3 matrix .