next up previous contents
Next: Comments Up: Input Previous: Polynomials

Simulated cin input

lc provides a mechanism which allows the user to enter objects in the same way as in library mode, i.e. when using the cin operator. This is done using a cast from the string type. For example (quadratic_form) "(1 2 3)"; is a valid input for a quadratic form. In the same way, (rational_factorization) "[(2,3) (3,7)]"; is a valid input for factorization object.



Thomas Papanikolaou
Thu Aug 28 10:25:48 MET DST 1997