VectorSpace Class Reference
[classes for users]

PSpace type that knows about vectors Class to track metadata of Vector objects. More...

Inheritance diagram for VectorSpace:

PSpace Structure

List of all members.

Public Member Functions

def testCommand
 returns the resulting space from applying the command but does not add the command to the graph
def create
 space.create( self, out=0 ,istmp=None ) -> vector Create a vector within this vectorspace where the following evaluates to True:
def noise
 Create a vector within this vector space.
def zeros
 Create a vector of zeros within this vector space.
def spike
 create a vector with spikes
def ones
 Create a vector of ones within this vector space.
def isReal
def isComplex
 test is the space contains complex values
def isInt
def VectorAddition
 space that would result from vector additions


Detailed Description

PSpace type that knows about vectors Class to track metadata of Vector objects.

Definition at line 33 of file VectorSpace.py.


Member Function Documentation

def testCommand (   self,
  cmd,
  args,
  kargs 
)

returns the resulting space from applying the command but does not add the command to the graph

Returns:
new VectorSpace

Definition at line 40 of file VectorSpace.py.

def create (   self,
  out = 0,
  istmp = None 
)

space.create( self, out=0 ,istmp=None ) -> vector Create a vector within this vectorspace where the following evaluates to True:

             >>> vector in space

Returns:
Vector

Definition at line 60 of file VectorSpace.py.

def noise (   self,
  mean = 0,
  seed = None,
  var = None 
)

Create a vector within this vector space.

Parameters:
mean mean value of the noise
seed random seed
var variance

Definition at line 87 of file VectorSpace.py.

def zeros (   self  ) 

Create a vector of zeros within this vector space.

space.zeros( ) -> vector

Definition at line 119 of file VectorSpace.py.

def spike (   self,
  kw 
)

create a vector with spikes

Definition at line 126 of file VectorSpace.py.

def ones (   self  ) 

Create a vector of ones within this vector space.

Definition at line 154 of file VectorSpace.py.

def isReal (   self  ) 

Definition at line 157 of file VectorSpace.py.

def isComplex (   self  ) 

test is the space contains complex values

Definition at line 162 of file VectorSpace.py.

def isInt (   self  ) 

Definition at line 165 of file VectorSpace.py.

def VectorAddition (   self,
  other_spaces 
)

space that would result from vector additions

VectorSpace.VectorAddition( *spaces ) -> New space

Definition at line 174 of file VectorSpace.py.


The documentation for this class was generated from the following file:

Generated on Sun Aug 10 09:11:12 2008 for SLIMpy by  doxygen 1.5.6