|
static const DASimpleFormat | C = { "+", "-", "*", "", "p", "[", "", "][", "]", " \\\n\t", 0, -1, 20, false } |
|
static const DASimpleFormat | C_POW = { "+", "-", "*", "pow(", "x", "[", "]", ",", ")", " \\\n\t", 0, 0, 20, true } |
|
static const DASimpleFormat | FORTRAN = { "+", "-", "*", "", "p", "(", "", ",", ")", " &\n &", 1, 0, 20, false } |
|
static const DASimpleFormat | FORTRAN_POW = { "+", "-", "*", "", "x", "(", ")", "**(", ")", " &\n &", 1, 0, 20, true } |
|
static const DASimpleFormat | MATLAB = { "+", "-", ".*", "", "p", "(", "", ",", ")", " ...\n\t", 1, 0, 20, false } |
|
static const DASimpleFormat | MATLAB_POW = { "+", "-", ".*", "", "x", "(", ")", ".^(", ")", " ...\n\t", 1, 0, 20, true } |
|
static const DASimpleFormat | LATEX = { " +", " -", " \\cdot ", "", "x", "_{", "}", "^{", "}", " \n\t", 1, 0, 20, true } |
|
DASimpleFormatter class which formats a DA vector using simple rules to output code suitable for various programming languages.