2021-03-08 21:41:42 +0200 | received badge | ● Notable Question (source) |
2021-03-08 21:41:42 +0200 | received badge | ● Popular Question (source) |
2018-10-29 20:09:00 +0200 | received badge | ● Famous Question (source) |
2018-08-29 04:54:58 +0200 | received badge | ● Famous Question (source) |
2016-05-04 18:23:05 +0200 | received badge | ● Notable Question (source) |
2015-11-09 22:01:16 +0200 | received badge | ● Notable Question (source) |
2013-11-27 12:45:19 +0200 | received badge | ● Popular Question (source) |
2013-10-19 17:14:38 +0200 | received badge | ● Popular Question (source) |
2012-09-18 08:28:37 +0200 | commented answer | Sage cannot find openssl during compilation although it is installed Thanks a lot! These commands helped! |
2012-09-17 19:29:23 +0200 | asked a question | Sage cannot find openssl during compilation although it is installed I try to compile Sage-5.3 from sources on OpenSuse 12.2 64 bit. After 'make' I get: checking for SSL_library_init in -lssl... no configure: The OpenSSL library is required to build the Sage Notebook. configure: You might need to execute one of the following (or the equivalent for your configure: operating system): configure: sudo apt-get install libssl-dev configure: sudo yum install openssl-devel configure: error: Exiting, since the OpenSSL library was not found. You do not have all of the prerequisites needed to build Sage from source. See the errors above. If you would like to try the build anyway (to help porting) On my system I have: libgnutls-openssl-devel gnutls libgnutls-openssl27 libopenssl-devel libopenssl-devel-32bit libopenssl0_9_8 libopenssl0_9_8-32bit libopenssl1_0_0 libopenssl1_0_0-32bit openssl installed. Please, help me compile sage. Best regards, Aleksey. |
2011-12-02 16:38:38 +0200 | marked best answer | Substitute list of expressions The nice solution: |
2011-12-02 16:38:38 +0200 | received badge | ● Scholar (source) |
2011-12-02 16:38:16 +0200 | commented answer | Substitute list of expressions Thanks! That's really nice solution! |
2011-11-30 12:51:52 +0200 | received badge | ● Nice Question (source) |
2011-11-30 02:50:02 +0200 | asked a question | Substitute list of expressions How is it possible to substitute list of expressions? For example: sage: y=[4.0,2.0,5.0,1.0] sage: x=[1.0,2.0,3.0,4.0] sage: xy=zip(x,y) sage: var('a,b,c,d,x') (a, b, c, d, x) sage: model(x)=ax^3+bx^2+c*x+d sage: sol=find_fit(xy,model) sage: sol [a == -2.0000000000000031, b == 14.500000000000021, c == -31.500000000000046, d == 23.000000000000028] Now sol is a list of expressions. How can I substitute it into my model? The only way I found is: sage: func=model.substitute_expression(sol[0],sol[1],sol[2],sol[3])(x) sage: func -2.0000000000000031x^3 + 14.500000000000021x^2 - 31.500000000000046*x + 23.000000000000028 However, the expression like "sol[0],...,sol[3]" seems to be not a good style... Best regards, Aleksey. |
2011-11-30 02:40:54 +0200 | commented answer | Plot surface given by points Thanks a lot! |
2011-11-17 09:51:32 +0200 | received badge | ● Student (source) |
2011-11-16 12:02:20 +0200 | asked a question | Plot surface given by points Greetings, colleagues! Is there any way to plot surface given by points in sage? As far as I know, plot3d can't plot surface by discrete values... Best regards, Aleksey. |
2011-10-18 11:26:14 +0200 | commented answer | Show long expressions in interactive shell Thanks a lot, that works! :) |
2011-10-18 11:25:33 +0200 | received badge | ● Supporter (source) |
2011-10-17 11:29:09 +0200 | asked a question | Show long expressions in interactive shell Greatings, colleagues. I have a problem when I need to display some long formula by means of command show(). For example the following code generates some long formula: x=var('x') F = integrate(tan(x),x) FF = integrate(F,x) After that, when I enter: show(FF) the generated sage.dvi shows only the part of formula, the rest is cut off by page borders. Please, tell me how to display long expressions in proper way. |