[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These functions use the pretty input/output facilities described in
module Polka
.
Printing and output functions takes as first paramater a function
of type (int -> string)
associating variable names to variable
ranks. By definition, variable index = polka_dec + variable
rank
.
The next functions are input functions: they converts strings to
vectors. They as first paramater a function of type (string ->
int)
associating variable ranks to variable names, and as second
parameter the dimension of the returned vector. By definition,
length = polka_dec + dimension
.
The syntax of an expression is
(+|-) a_x/b_x x (+|-) ... (+|-) a_y/b_y y
where the a's are numerators, b's are optional
denominators, and x,y,... are variable names. If there is no
name, then the constant coefficient is concerned, and if there is no
numerator, 1 is assumed. An example is x+2y-1/2z-1/3w. There is no
way to reference the special dimension \epsilon (and it is
unnecessary in this case any way).
The syntax of a constraint is <expr> (>|>=|=|<=|<) <expr>.
The syntax of a generator is the following one:
Non-zero constants have no sense such expressions. There is unfortunately no way to specify vertices with non-zero \epsilon components. However, the meaning of such vertices is difficult to get !
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |