Package pyscript :: Module vectors :: Class Matrix
[show private | hide private]
[frames | no frames]

Class Matrix


2x2 matrix class
Method Summary
  __init__(self, a, b, c, d)
  __add__(self, o)
  __div__(self, n)
  __getitem__(self, i)
  __getslice__(self, i, j)
  __len__(self)
  __mul__(self, other)
  __neg__(self)
  __radd__(self, o)
  __rmul__(self, other)
  __rsub__(self, o)
  __setitem__(self, i, other)
  __setslice__(self, i, j, wert)
  __sub__(self, o)
  body(self)
Return the postscript body
  det(self)
Return the matrix determinant
  inverse(self)
Find the inverse of the matrix

Class Variable Summary
str type = 'Matrix'

Method Details

body(self)

Return the postscript body

det(self)

Return the matrix determinant

inverse(self)

Find the inverse of the matrix

Class Variable Details

type

Type:
str
Value:
'Matrix'                                                               

Generated by Epydoc 2.0 on Mon Apr 24 17:02:34 2006 http://epydoc.sf.net