f(x)=1/x
r1=find_root(f,-1,1);r1
-1.8189894035440371e-12
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this g
Thanks to all of you for responding.
This thread brings up another interesting question: How can I
actually tell sage to save the graphics image to a separate file, in
addition to displaying it?
TIA for your response.
Gus
--~--~-~--~~~---~--~~
To post to this g
On Thu, Feb 26, 2009 at 4:08 PM, mabshoff
wrote:
>
> Some more update: "-p" is at fault here, but that startup option isn't
> documented in the GAP help, so I have started looking at the source
> code what it is exactly supposed to do.
>
> Either way, if you look at interfaces/gap.py in
>
> def
in the notebook of sagenb.org
I have just typed
n=2;q=9;
G = GU(n,q);
H = SL(n,q^2); Z=H.center(); z=Z.gen(0)
z in G
True
G(z)
Traceback (most recent call last):
File "", line 1, in
File "/home/sage/sagenb/sage_notebook/worksheets/Tincho/3/code/45.py",
line 6, in
G(z)
File
"/home
and
also got this problem
n=3;q=4;
H = SL(n,q^2);
H.center()
Traceback (most recent call last):
File "", line 1, in
File "/home/sage/sagenb/sage_notebook/worksheets/Tincho/3/code/3.py",
line 10, in
H.center()
File
"/home/sage/sage_install/sage-a/local/lib/python2.5/site-packages/SQ
Hi all,
OpenOpt 0.23, a free Python-written numerical optimization framework
(license: BSD) with some own
solvers and connections to tens of 3rd party ones, has been released.
Our new homepage:
http://openopt.org
Introduction to the framework:
http://openopt.org/Foreword
All release details her
This doesn't seem to happen for smaller values,
sage: n = 2; q = 3
sage: H = PSL(n,q^2)
sage: H.center()
Permutation Group with generators [()]
sage: n = 2; q = 2
sage: H = PSL(n,q^2)
sage: H.center()
Permutation Group with generators [()]
so maybe the problem is related to
http://trac.sagemath.
Judging from the error message "unable to coerce from a finite field other
than the prime subfield", it seems that in Martin's examples a coercion is
attempted from GF(p^a) to GF(p^b) where a>1. In David's example, the larger
field is GF(3^2) so any coercion would be coming from GF(3), hence not
c
something strange happened to me today, if I try
In [1]: 6*21/18-2^3
Out[1]: 6
However, if I try the following
In [2]: 6*21/18-2**3
Out[2]: -1
then the normal operator precedence (parenthesis, exponential,
multilplication-division-remainder, addition-subtraction) occurs. Does
anybody have a
Dear Willian,
thank you very much for your assitance with the worksheet. Now my
worksheets look much nicer!
all the best
Jose
William Stein wrote:
> On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman wrote:
>
>> Dear colleagues,
>>
>> I've just discovered this wonderful thing called Sage (I am
Hello,
On Sun, Mar 15, 2009 at 2:48 PM, Jose Guzman wrote:
>
> something strange happened to me today, if I try
>
> In [1]: 6*21/18-2^3
> Out[1]: 6
>
> However, if I try the following
>
> In [2]: 6*21/18-2**3
> Out[2]: -1
>
> then the normal operator precedence (parenthesis, exponential,
> multi
hello Mike
thank you very much for your information, I've looking for a solution
the whole evening, I did not notice that the ^ is of course the XOR
operator
Mike Hansen wrote:
> Hello,
>
> On Sun, Mar 15, 2009 at 2:48 PM, Jose Guzman wrote:
>
>> something strange happened to me today,
> So I don't think it has to do with trac #5491. It is either a problem with
> Sage finite fields, or with translating between Gap finite fields and Sage
> finite fields. I'll have a closer look later today and open a ticket.
>
Indeed, we just don't have the ability to coerce between GF(p^a) an
thanks!
I thought it was related to the fact that the size is not a prime
I didn't get that sort of troubles with a similar code for prime sizes
On Sun, Mar 15, 2009 at 2:34 PM, Alex Ghitza wrote:
> Judging from the error message "unable to coerce from a finite field other
> than the prime subfi
Hi,
I have installed sage 3.4 from source.
I want to use sage in my python scripts, particularly the linear
algebra part.
I therefore want to write little python scripts with something like
m=matrix([[1,2],[3,4]])
e=m.eigenvalues()
My only problem is: what should I import in order to make this k
On Sun, Mar 15, 2009 at 4:00 PM, bjrnfrdnnd wrote:
>
> Hi,
> I have installed sage 3.4 from source.
> I want to use sage in my python scripts, particularly the linear
> algebra part.
> I therefore want to write little python scripts with something like
>
> m=matrix([[1,2],[3,4]])
> e=m.eigenvalue
On Mar 14, 2009, at 4:52 PM, mabshoff wrote:
>
> On Mar 13, 11:30 am, Carl Witty wrote:
>> On Mar 13, 11:02 am, mabshoff >
>> dortmund.de> wrote:
>>> On Mar 13, 10:55 am, kcrisman wrote:
Any ideas?
>>
>>> The build box where that binary is being build had some changes
>>> to the
>>> fil
libintl.3.dylib not loaded - No such file ...sage/dsage/cacert.pem'
I have located instances of a similar (?) problem with older versions
directing users to locate libintl.3.dylib with link provided, but link
[ http://sagemath.org/SAGEbin/apple_osx/intel/10.4-extra_files/ ] is
broken.
I have tri
Jamie wrote:
Hi Jamie,
> libintl.3.dylib not loaded - No such file ...sage/dsage/cacert.pem'
>
> I have located instances of a similar (?) problem with older versions
> directing users to locate libintl.3.dylib with link provided, but link
> [ http://sagemath.org/SAGEbin/apple_osx/intel/10.4-e
Hello,
I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options,
Hello,
I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2 but got
an error:
checking whether gcc is new enough... configure: error: please
upgrade to gcc 3.x or 4.x
ERROR: You do not have all of the prerequisites needed
to build SAGE from source. See the errors above.
mak
On Mar 15, 10:55 pm, Miron wrote:
> Hello,
Hi Miron,
> I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2 but got
> an error:
>
> checking whether gcc is new enough... configure: error: please
> upgrade to gcc 3.x or 4.x
> ERROR: You do not have all of the prerequisites neede
On Mar 15, 5:04 pm, Jim Clark wrote:
> On Mar 14, 2009, at 4:52 PM, mabshoff wrote:
Hi Jim,
> I have downloaded both Michael's .dmg and the one from http://
> sage.math.washington.edu/sage/osx/powerpc/index.html
>
> In both cases, after I start sage, it fails as follows:
> (My computer is a 3
23 matches
Mail list logo