2023-08-26 23:21:36 +0100 | received badge | ● Taxonomist |
2018-11-10 09:34:31 +0100 | received badge | ● Notable Question (source) |
2017-02-14 14:39:47 +0100 | received badge | ● Popular Question (source) |
2017-01-25 18:14:33 +0100 | received badge | ● Good Answer (source) |
2015-04-24 19:37:52 +0100 | asked a question | Implicit plot in tachyon scene Is there a way to get some implicit plot, or some other graphic object in general into a tachyon scene? Something like: Or can I modify the camera_center parameter when using the tachyon viewer in the show() method? |
2015-03-31 11:16:12 +0100 | received badge | ● Nice Answer (source) |
2015-02-23 09:39:44 +0100 | received badge | ● Self-Learner (source) |
2015-02-23 08:43:09 +0100 | answered a question | Solve behaviour on same equation twice I have now looked at the underlying code for solve. It turns out that if the first argument of solve is an equation or a list of just one equation the object function sage.symbolic.expression.Expression.solve is used. This explains why the output of and may differ. To force to get all solutions in the first case one can use Another thing I've found out is that in the definition of the underlying maxima function solve is declared as
If one reformulates the problem to all solutions will be displayed. However I liked the behaviour of previous Versions of sage That is: If solve could't find a solution the original equation was returned. That way it was clear that there may exist solutions sage could not found. |
2015-02-22 12:16:01 +0100 | answered a question | What does assume(x, "real")? It is a good thing, that bool(x^2>0) evaluates to false. Just plug in the real value 0. However in version 6.4 of sage evaluates to true. |
2015-02-22 06:59:17 +0100 | received badge | ● Enlightened (source) |
2015-02-22 06:59:17 +0100 | received badge | ● Good Answer (source) |
2015-02-21 22:51:01 +0100 | received badge | ● Nice Answer (source) |
2015-02-21 20:19:34 +0100 | received badge | ● Editor (source) |
2015-02-21 18:17:16 +0100 | answered a question | Something like RealDigits in Sage? To get the binary representation just add a .str(base=2) to the approximated value. For the other direction the method RR is useful. Given as first argument the string and as second the base. |
2015-02-17 07:45:29 +0100 | answered a question | How can I print equations just like latex? There is the hold option, which might can help: which evaluates to $x \mapsto x^2x$ For an easier typing one could use Infix opertors: and then use However in your case if you need just the initial equation to display it might be the easiest just to print it as a string. If you need this functionality more often, an (extendet version of a) function like this could be helpful: Then |
2015-02-16 18:51:47 +0100 | received badge | ● Good Question (source) |
2015-02-16 14:39:23 +0100 | received badge | ● Nice Question (source) |
2015-02-16 11:09:47 +0100 | commented question | built in method norm of Vector_symbolic_dense object Are your shure this is the code in your worksheet? It seems like you left out the parenthesis in .norm() |
2015-02-16 10:09:51 +0100 | received badge | ● Scholar (source) |
2015-02-16 10:03:27 +0100 | asked a question | Solve behaviour on same equation twice Two questions: The first one: Solving an equation: gives the solution raises to the somehow better solution A second one: A previous version of sage 5.something could solve However Sage 6.4.1 Returns an empty list. |
2013-06-28 14:45:45 +0100 | commented answer | different color on backside of surface This is in fact much easier and faster. Seeing this solution I'm a bit ashamed, that it's so simple. But thank you very much for pointing this out. |
2013-06-28 10:40:18 +0100 | received badge | ● Self-Learner (source) |
2013-06-28 10:40:18 +0100 | received badge | ● Teacher (source) |
2013-06-28 10:40:15 +0100 | received badge | ● Student (source) |
2013-06-28 05:13:55 +0100 | answered a question | different color on backside of surface If someone deals with a similar problem it might help seeing my (messy) code for this: And a Test with a simple sphere: |
2013-06-28 04:54:01 +0100 | received badge | ● Supporter (source) |
2013-06-27 19:40:15 +0100 | commented answer | different color on backside of surface Thank you very much for your ideas. As my surface is a algebraic variety (Kummer surface) the second idea is a bit difficult. So I tried the third one. I hoped that the normal is determined by the order of the vertices in the triangle, but this seems rather random. In my case I could calculate the normals via the gradient. Unfortunately the rendering is now very slow. I hope I can increase the speed a bit by cleaning up my code. |
2013-06-26 17:38:03 +0100 | asked a question | different color on backside of surface Hey, I want to animate a 3D plot. Therefore I generate tachyon rendered implicit plots which I then send to ffmpeg. This works quite well. The only disadvantege, is that it's during the video hard to distinguish which side of the surface one sees. Therefore I want to change the color of the backside or at least increase the shadow. I already tried some stuff with the tachyon raytracer building a scene. But this does not work for implicit plots. The solution given here seems not to be very usefull in this context. Is there perhaps a simply trick, which does the job? |