Singular
https://www.singular.uni-kl.de/forum/

Read ssi link without echo
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2500
Page 1 of 1

Author:  Guest [ Wed Jul 01, 2015 11:57 pm ]
Post subject:  Read ssi link without echo

I have some large polynomials on the order ~10MB in ASCII format that I've converted into SSI format since it is faster to read and storage is lower. Is there a way to read in an SSI link without having the input echoed to the console? Here is an example:
Code:
                     SINGULAR                                 /  Development
A Computer Algebra System for Polynomial Computations       /   version 4.0.2
                                                           0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   Feb 2015
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \
> ring R = 0, x(1..2), dp;
> poly p = x(1)^2 - x(2)^2;
> link p_ssi = "ssi:w test.ssi";
> write(p_ssi, p);
> close(p_ssi);
> read(p_ssi);
x(1)^2-x(2)^2
How do I prevent the contents of my SSI link, "x(1)^2-x(2)^2", from being printed after reading? Regards,
Eric

Author:  Guest [ Thu Jul 02, 2015 12:12 am ]
Post subject:  Re: Read ssi link without echo

Ah, nevermind. I need to do
Code:
kill p; poly p = read(p_ssi);

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/