3,328 reputation
11029
bio website eelvex.net
location Greece
age
visits member for 3 years, 2 months
seen yesterday

(+.-.)@+: b that is the question and the answer is always true.


Mar
16
comment Convert a repeated decimal to a fraction
Use ('0','x',~]) and save a byte.
Mar
14
comment Tree traversal.
@sindikat, the order traversed.
Mar
13
awarded  Nice Answer
Mar
11
comment Shortest Program to Solve a Quartic Equation
@steveverrill, the bisection will never fail no matter what, because from an interval (+,-) you choose the midpoint that it's either +,-,or 0. In any case you can either form a new interval (+,-) or you have a solution. The weak point of my algorithm is the scanning which might go on and on. My scanning makes dx steps left and right (x-dx, x+dx) and compares them to x=0. If (x,x+-dx) <= 0, we have an interval to bisect. It would be tremendounsly faster and robust if I used Sturm's polynomial to make an initial guess but I was too tired :)
Mar
11
comment Shortest Program to Solve a Quartic Equation
Nice. BTW, theoretically my answer always finds a root if it exists since I use the bisection method. Practically it might need too much time if the smallest root is a very-very big number.
Mar
10
comment Mandelbrot image in every language
@plannapus, OK, added some comments. The color picking is done with (0,?$~99 3) which produces 100 rgb triplets, one for each level. Because of the randomness, you might get less than 100 triplets so some levels will have a smoother transition (but still have different colors).
Mar
10
revised Mandelbrot image in every language
notes
Mar
10
comment Mandelbrot image in every language
@MarkJeronimus, I can make it 70 but I kept some things for clarity. I, thus, took the liberty to ignore the LF when counting.
Mar
9
comment Mandelbrot image in every language
@DigitalTrauma I guess we'd see more of this output if it was allowed.
Mar
9
answered Mandelbrot image in every language
Feb
22
revised Shortest Program to Solve a Quartic Equation
added 105 characters in body
Feb
22
answered Shortest Program to Solve a Quartic Equation
Feb
21
revised Good rational approximations of pi
added 194 characters in body
Feb
20
comment Good rational approximations of pi
@PeterTaylor Tied. Can we do better?
Feb
20
answered Good rational approximations of pi
Feb
19
revised Arbitrary Base Conversion
added 27 characters in body
Feb
19
revised Arbitrary Base Conversion
deleted 3 characters in body
Feb
19
answered Arbitrary Base Conversion
Feb
13
comment Implement a Brute Force Sudoku Solver
@koko, I couldn't find something better but I'm still working on it.
Feb
13
comment Implement a Brute Force Sudoku Solver
@Quincunx, strictly speaking, it's a wrong use of big-O; the "joke" was supposed to read "constant run time, asymptotically gazillion billion years".