cocopp.pptex
module documentationcocopp
Class | Error | Base class for errors. |
Class | WrongInputSizeError | Error if an array has the wrong size for the following operation. |
Function | color_to_latex | Undocumented |
Function | marker_to_latex | Undocumented |
Function | marker_to_html | Undocumented |
Function | numtotext | Returns a text from a positive integer. |
Function | writeLabels | Format text to be output by LaTeX. |
Function | writeFEvals | Returns string representation of a number of function evaluations. |
Function | writeFEvals2 | Returns string representation of a number of function evaluations. |
Function | writeFEvalsMaxSymbols | Return the smallest string representation of a number. |
Function | writeFEvalsMaxPrec | Return a string representation of a number. |
Function | tableLaTeX | Generates a tabular from a sequence of sequence of strings. |
Function | tableXLaTeX | Generates a tabular from a sequence of sequence of strings. |
Function | tableLaTeXStar | Generates a tabular* from a sequence of sequence of strings |
Class | DataTable | Undocumented |
Returns a text from a positive integer.
Is to be used for generating command names: they cannot include number characters.
WARNING: n should not be larger than (53*52)-1 = 2755 for the moment
Returns string representation of a number of function evaluations.
This method is supposed to be used for filling up a LaTeX tabular.
To address the eventual need to keep their string representation short, the method here proposes the shortest representation between the full representation and a modified scientific representation.
Examples:
Number | Precision | Output Representation |
---|---|---|
102345 | 2 digits | 1.0e5 |
Parameters | float fevals | |
int precision | number of significant digits | |
int maxdigits | ||
bool isscientific |
Return the smallest string representation of a number.
This method is only concerned with the maximum number of significant digits.
Two alternatives:
Returns | string representation of a number of function evaluations or aRT. |
Return a string representation of a number.
Two alternatives:
Returns | string representation of a number of function evaluations or aRT. |
Parameters | seq table | sequence of sequence of strings |
string spec | string for table specification, see http://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment | |
seq extra_eol | sequence of string the same length as the table (same number of lines) which are added at the end of each line. | |
bool add_begin_tabular | bool value that specifies if begin tabular is added. | |
bool add_end_tabular | bool value that specifies if end tabular is added. | |
Returns | sequence of strings of a LaTeX tabular. |
Parameters | seq table | sequence of sequence of strings |
string spec | string for table specification, see http://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment | |
seq extra_eol | sequence of string the same length as the table (same number of lines) which are added at the end of each line. | |
bool add_begin_tabular | bool value that specifies if begin tabular is added. | |
bool add_end_tabular | bool value that specifies if end tabular is added. | |
Returns | sequence of strings of a LaTeX tabular. |
Parameters | seq table | sequence of sequence of strings |
string width | string for the width of the table | |
strin spec | string for table specification, see http://en.wikibooks.org/wiki/LaTeX/Tables#The_tabular_environment | |
seq extraeol | sequence of string the same length as the table (same number of lines) which are added at the end of each line. |