This is an array that will expand later when the mission is initialized. It is called specifically by conditions
Assumptions:
None
Source:
None
◆ __init__()
def SUAVE.Analyses.Mission.Segments.Conditions.Conditions.expanded_array.__init__ |
( |
|
self, |
|
|
|
cols, |
|
|
|
adjustment |
|
) |
| |
Initialization that sets expansion later
Assumptions:
None
Source:
N/A
Inputs:
self
cols - columns [int]
adjustment - how much smaller [int]
Outputs:
N/A
Properties Used:
N/A
◆ __call__()
def SUAVE.Analyses.Mission.Segments.Conditions.Conditions.expanded_array.__call__ |
( |
|
self | ) |
|
This returns the value and shape of the array as is
Assumptions:
None
Source:
N/A
Inputs:
self
Outputs:
np.array - properly sized [array]
Properties Used:
N/A
◆ __mul__()
def SUAVE.Analyses.Mission.Segments.Conditions.Conditions.expanded_array.__mul__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Performs multiplication and returns self
Assumptions:
None
Source:
N/A
Inputs:
self
other - something can be multiplied [float]
Outputs:
self
Properties Used:
N/A
◆ __rmul__()
def SUAVE.Analyses.Mission.Segments.Conditions.Conditions.expanded_array.__rmul__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Performs multiplication and returns self
Assumptions:
None
Source:
N/A
Inputs:
self
other - something can be multiplied [float]
Outputs:
self
Properties Used:
N/A
◆ resize()
def SUAVE.Analyses.Mission.Segments.Conditions.Conditions.expanded_array.resize |
( |
|
self, |
|
|
|
rows |
|
) |
| |
This function actually completes the resizing. After this it's no longer an expanded array. That way it
doesn't propogate virally. That means if one wishes to resize later the conditions need to be reset.
Assumptions:
None
Source:
N/A
Inputs:
self
rows - rows [int]
v - values (really self) [int]
Outputs:
np.array - properly sized [array]
Properties Used:
N/A
The documentation for this class was generated from the following file:
- /Users/emiliobotero/Dropbox/SUAVE/SUAVE/trunk/SUAVE/Analyses/Mission/Segments/Conditions/Conditions.py