Ask Your Question

Klaus Scheicher's profile - activity

2020-12-04 21:14:06 +0100 received badge  Popular Question (source)
2020-01-14 08:44:43 +0100 received badge  Notable Question (source)
2018-05-25 16:07:53 +0100 received badge  Popular Question (source)
2016-06-07 09:29:42 +0100 asked a question Standalone Python/Sage Scripts

The tutorial example from

http://doc.sagemath.org/html/en/tutor...

is working only for integers. It does not work for symbolic expressions. It becomes working by renaming the script from "factor" to "factor.sage" and replacing the last line by

print factor(sage_eval(sys.argv[1],locals={'x':x}))

Is there anything wrong in my configuration of Sage?

2013-10-29 20:19:01 +0100 received badge  Student (source)
2013-10-27 07:25:15 +0100 answered a question Artin decomposition for p-adic numbers

Thank you very much!

2013-10-27 07:24:53 +0100 received badge  Supporter (source)
2013-10-27 03:06:49 +0100 asked a question Artin decomposition for p-adic numbers

How can I decompose a p-adic number

... d_2 d_1 d_0. d_{-1} ... d_{-k}

into its integer part

d_2 d_1 d_0.

and fractional part

. d_{-1} ... d_{-k} ?

The does not seem to exist a kind of floor function.

2013-07-18 03:33:02 +0100 answered a question Linear programming with algebraic numbers

Thank you. I already adapted an existing Python code!

2013-07-17 04:24:26 +0100 asked a question Linear programming with algebraic numbers

Is it possible to use one of the built in routines for linear programming with algebraic numbers, instead of floating point numbers.

I have to solve a problem on algebraic operators exactly, not numerically.