Abstract class for symbolic numerical quantities.
|
|
__init__(self,
spec,
name='',
domain=None,
specType=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isvector(self)
Is the quantity spec of the form [a,b,c] |
source code
|
|
|
|
fromvector(self,
ix=None)
Turn the Quantity's specification of a vector to a list of the
element's specifications. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| __combine(self,
other,
opstr,
reverseorder=0) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval(self,
*scopearg,
**defs)
eval does not require all free symbols to be resolved, but any
signature arguments (for a function) must be resolved. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
difference(self,
other)
Show differences in comparison to another Quantity. |
source code
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|