Public Member Functions | |
def | generate_command |
return a new slimpy_base.Command.command instance | |
def | apply_command |
def | testCommand |
Returns the resulting space from applying a command. | |
def | generateNewWithSpace |
Generate a new Structure instance (note: that the new instance will be the current subclass) Also see: genData. | |
def | generateNew |
Generate a new Structure instance (note: that the new instance will be the current subclass) Also see: genData. | |
def | genData |
Same as generateNew. | |
def | AppendToGraph |
Append to the current graph in the keystone Class. | |
def | scalar_reduction |
generate a Scalar from a command | |
def | genScalar |
generate a Scalar from a command | |
def | source_or_num |
struc.source_or_num( obj ) -> result returns a source if obj is a SLIMpy scalar, or returns obj if obj is a number | |
def | flush |
def | dependant |
prints a dependency table for container | |
def | addBreakPoint |
add a breakpoint in the graph container will always be build, even if it breaks a pipe | |
def | __nonzero__ |
always true | |
def | __repr__ |
Static Public Attributes | |
string | name = "Sructure" |
tuple | env = InstanceManager() |
This is because we need the abstraction at each level The container provides a constant interface for each type of data for the structure to use. The structure knows about the standard container interface and Graph and interfaces the two. structure is designed to be the super class for all of the SLIMpy concrete data class (e.g., Vector, Linear Operator, Array, ...)
Definition at line 52 of file Structure.py.
def generate_command | ( | cls, | ||
cmnd, | ||||
args, | ||||
kargs | ||||
) |
def apply_command | ( | cls, | ||
structure, | ||||
command | ||||
) |
Definition at line 78 of file Structure.py.
def testCommand | ( | cls, | ||
space, | ||||
cmnd_tag, | ||||
args, | ||||
kargs | ||||
) |
def generateNewWithSpace | ( | cls, | ||
data, | ||||
space, | ||||
cmd, | ||||
args, | ||||
kargs | ||||
) |
Generate a new Structure instance (note: that the new instance will be the current subclass) Also see: genData.
Definition at line 110 of file Structure.py.
def generateNew | ( | cls, | ||
data, | ||||
cmd_tag, | ||||
args, | ||||
kargs | ||||
) |
Generate a new Structure instance (note: that the new instance will be the current subclass) Also see: genData.
Definition at line 132 of file Structure.py.
def genData | ( | cls, | ||
data, | ||||
cmd, | ||||
args, | ||||
kargs | ||||
) |
Same as generateNew.
However genData returns a dataContainer instance
Definition at line 148 of file Structure.py.
def AppendToGraph | ( | cls, | ||
container1, | ||||
cmnd, | ||||
container2 | ||||
) |
def scalar_reduction | ( | cls, | ||
container, | ||||
tag, | ||||
args, | ||||
kargs | ||||
) |
def genScalar | ( | cls, | ||
container, | ||||
tag, | ||||
args, | ||||
kargs | ||||
) |
def source_or_num | ( | cls, | ||
obj | ||||
) |
struc.source_or_num( obj ) -> result returns a source if obj is a SLIMpy scalar, or returns obj if obj is a number
Definition at line 235 of file Structure.py.
def flush | ( | cls, | ||
data | ||||
) |
Definition at line 244 of file Structure.py.
def dependant | ( | cls, | ||
container | ||||
) |
def addBreakPoint | ( | cls, | ||
container | ||||
) |
add a breakpoint in the graph container will always be build, even if it breaks a pipe
Definition at line 265 of file Structure.py.
def __nonzero__ | ( | self | ) |
def __repr__ | ( | self | ) |
Definition at line 276 of file Structure.py.
string name = "Sructure" [static] |
tuple env = InstanceManager() [static] |
Definition at line 56 of file Structure.py.