3d-matrices

API Reference

3d-matrices

A utility library implementing 2x2, 3x3, 4x4, and NxN matrix functionality.

3D-MATRICES

  • Struct MAT2
    MARR2
  • Function MAT2-P (object)
  • Function MARR2 (instance)
  • Function (setf MARR2) (value instance)
  • Function MIREF2 (mat i)
  • Function MCREF2 (mat y x)
  • Function MAT2 (&optional elements)
  • Function MCOPY2 (m2)
  • Struct MAT3
    MARR3
  • Function MAT3-P (object)
  • Function MARR3 (instance)
  • Function (setf MARR3) (value instance)
  • Function MIREF3 (mat i)
  • Function MCREF3 (mat y x)
  • Function MAT3 (&optional elements)
  • Function MCOPY3 (m3)
  • Struct MAT4
    MARR4
  • Function MAT4-P (object)
  • Function MARR4 (instance)
  • Function (setf MARR4) (value instance)
  • Function MIREF4 (mat i)
  • Function MCREF4 (mat y x)
  • Function MAT4 (&optional elements)
  • Function MCOPY4 (m4)
  • Struct MATN
    %ROWS
    %COLS
    MARRN
  • Function MATN-P (object)
  • Function MARRN (instance)
  • Function (setf MARRN) (value instance)
  • Function MIREFN (mat i)
  • Function MCREFN (mat y x)
  • Function MATN (r c &optional elements)
  • Function MCOPYN (mn)
  • Type MAT
  • Function MAT-P (mat)
  • Function MARR (mat)
  • Function MIREF (mat i)
  • Function MCREF (mat y x)
  • Function MCOLS (mat)
  • Function MROWS (mat)
  • Function MAT (&rest vals)
  • Function MATF (mat &rest vals)
  • Function MCOPY (m)
  • Function WRITE-MATRIX (m stream &key (format :nice))
  • Macro WITH-FAST-MATREF ((accessor mat width) &body body)
  • Macro WITH-FAST-MATREFS (bindings &body body)
  • Macro WITH-FAST-MATCASE ((accessor mat) &body body)
  • Function MEYE (n)
  • Function MRAND (r c &key (min 0) (max 1))
  • Function MUNIFORM (r c element)
  • Function MCOL (mat n)
  • Function (setf MCOL) (vec mat n)
  • Function MROW (mat n)
  • Function (setf MROW) (vec mat n)
  • Function M= (val &rest vals)
  • Function M~= (val &rest vals)
  • Function M/= (val &rest vals)
  • Function M< (val &rest vals)
  • Function M> (val &rest vals)
  • Function M<= (val &rest vals)
  • Function M>= (val &rest vals)
  • Function M+ (val &rest vals)
  • Function NM+ (val &rest vals)
  • Function M- (val &rest vals)
  • Function NM- (val &rest vals)
  • Function M* (val &rest vals)
  • Function NM* (val &rest vals)
  • Function N*M (val &rest vals)
  • Function M/ (val &rest vals)
  • Function NM/ (val &rest vals)
  • Function MAPPLY (mat op)
  • Function MAPPLYF (mat op)
  • Function MDET (m)
  • Function MINV (m)
  • Function MTRANSPOSE (m)
  • Function MTRACE (m)
  • Function MMINOR (m y x)
  • Function MCOFACTOR (m y x)
  • Function MCOF (m)
  • Function MADJ (m)
  • Function MPIVOT (m)
  • Function MLU (m &optional (pivot t))
  • Function MTRANSLATION (v)
  • Function MSCALING (v)
  • Function MROTATION (v angle)
  • Function MLOOKAT (eye target up)
  • Function MFRUSTUM (left right bottom top near far)
  • Function MPERSPECTIVE (fovy aspect near far)
  • Function MORTHO (left right bottom top near far)
  • Function NMTRANSLATE (m v)
  • Function NMSCALE (m v)
  • Function NMROTATE (m v angle)
  • Function NMLOOKAT (m eye target up)
  • Function M1NORM (m)
  • Function MINORM (m)
  • Function M2NORM (m)
  • Function MQR (mat)
  • Function MEIGEN (m &optional (iterations 50))
  • Function NMSWAP-ROW (m k l)
  • Function NMSWAP-COL (m k l)
  • Function MDIAG (m)
  • Function MBLOCK (m y1 x1 y2 x2)
  • Function MTOP (m n)
  • Function MBOTTOM (m n)
  • Function MLEFT (m n)
  • Function MRIGHT (m n)