BigBrotherBot v1.8.0
System Development Information for the BigBrotherBot project.

b3::lib::statlib::matfunc Namespace Reference

Classes

class  Table
class  Vec
class  Matrix
class  Square
class  Triangular
class  UpperTri
class  LowerTri

Functions

def iszero
def getreal
def getimag
def getconj
def Mat
def funToVec
def funfit
def polyfit
def ratfit
def genmat
def zeroes
def eye
def hilb
def rand

Variables

string Version = 'File MATFUNC.PY, Ver 183, Date 12-Dec-2002,14:33:42'
list separator = [ '', '\t', '\n', '\n----------\n', '\n===========\n' ]
tuple a = Table([1+2j,2,3,4])
tuple b = Table([5,6,7,8])
tuple C = Table([a,b])
tuple A = C.tr()
tuple x = A.solve(b)
tuple inv = C.inverse()
tuple points = (xvec,yvec)
list basis = [lambda x: math.sin(x), lambda x: math.exp(x), lambda x: x**2]
tuple mtable = Vec([1,2,3])
tuple c = Mat( [[1,2,30],[4,5,10],[10,80,9]] )

Detailed Description

Basic Table, Matrix and Vector functions for Python 2.2
   License:  Public Domain     Author:   Raymond Hettinger email:  [email protected]
   Updates and documentation:  http://users.rcn.com/python/download/python.htm
   Revision In Use:  'File %n, Ver %v, Date %f'                             

Function Documentation

def b3::lib::statlib::matfunc::eye (   m = 1,
  n = None 
)
def b3::lib::statlib::matfunc::funfit (   xvec,
  yvec,
  basisfuns 
)
def b3::lib::statlib::matfunc::funToVec (   tgtfun,
  low = -1,
  high = 1,
  steps = 40,
  EqualSpacing = 0 
)
Compute x,y points from evaluating a target function over an interval (low to high)
at evenly spaces points or with Chebyshev abscissa spacing (default) 
def b3::lib::statlib::matfunc::genmat (   m,
  n,
  func 
)
def b3::lib::statlib::matfunc::getconj (   z)
def b3::lib::statlib::matfunc::getimag (   z)
def b3::lib::statlib::matfunc::getreal (   z)
def b3::lib::statlib::matfunc::hilb (   m = 1,
  n = None 
)
def b3::lib::statlib::matfunc::iszero (   z)
def b3::lib::statlib::matfunc::Mat (   elems)
def b3::lib::statlib::matfunc::polyfit (   xvec,
  yvec,
  degree = 2 
)
def b3::lib::statlib::matfunc::rand (   m = 1,
  n = None 
)
def b3::lib::statlib::matfunc::ratfit (   xvec,
  yvec,
  degree = 2 
)
def b3::lib::statlib::matfunc::zeroes (   m = 1,
  n = None 
)

Variable Documentation

tuple b3::lib::statlib::matfunc::a = Table([1+2j,2,3,4])
tuple b3::lib::statlib::matfunc::b = Table([5,6,7,8])
list b3::lib::statlib::matfunc::basis = [lambda x: math.sin(x), lambda x: math.exp(x), lambda x: x**2]
tuple b3::lib::statlib::matfunc::c = Mat( [[1,2,30],[4,5,10],[10,80,9]] )
tuple b3::lib::statlib::matfunc::inv = C.inverse()
tuple b3::lib::statlib::matfunc::points = (xvec,yvec)
list b3::lib::statlib::matfunc::separator = [ '', '\t', '\n', '\n----------\n', '\n===========\n' ]
string b3::lib::statlib::matfunc::Version = 'File MATFUNC.PY, Ver 183, Date 12-Dec-2002,14:33:42'
tuple b3::lib::statlib::matfunc::x = A.solve(b)
 All Classes Namespaces Files Functions Variables Properties