DSIMA
|
Functions | |
def | maxValueAndIndex |
Get the maximum value of an index. More... | |
def | floats2str |
Convert a list of floats to a string where the floats are separated by a comma. More... | |
def | translate |
Translate an internal symbol to a user comprehensive text. More... | |
def | export |
Export the solution to a XML file. More... | |
Variables | |
dictionary | TRANSLATE_DICT |
Translate dictionary. More... | |
def implementation.simulator.src.xmlsolution.export | ( | xmlPath, | |
data, | |||
externs = [] |
|||
) |
Export the solution to a XML file.
xmlPath | Path to the XML file. |
data | Data. |
externs | List of externs to the image which needs to output data. The externs should implement a method "xmlData" which takes the data structure as argument and returns a string with the data. |
def implementation.simulator.src.xmlsolution.floats2str | ( | floatList | ) |
Convert a list of floats to a string where the floats are separated by a comma.
floatList | List of floats. |
def implementation.simulator.src.xmlsolution.maxValueAndIndex | ( | vect | ) |
Get the maximum value of an index.
vect | Vector of elements. |
def implementation.simulator.src.xmlsolution.translate | ( | symbol | ) |
Translate an internal symbol to a user comprehensive text.
symbol | Symbol to translate. |