Hi,
On Tue, Jun 14, 2022 at 4:30 AM Jaco Van Tonder
wrote:
> This fixes the Singular library load problem but I now have another problem.
> When I try to load the sage kernel on Jupyter Lab it can't connect:
>
> [I 2022-06-14 12:24:36.977 ServerApp] Kernel started:
> 7081cbfd-e5e1-4168-b1e4-cac
Hi,
there should be a fix for this in updates-testing for Fedora 36:
$ sudo dnf update sagemath --enablerepo=updates-testing
You might have to do this first:
$ sudo dnf erase sagemath-doc-en
Cheers,
Vegard
On Thu, Jun 2, 2022 at 9:36 AM Francesco Buscemi wrote:
>
> Hello there; any news? I'm g
Hi,
what does this command say?
$ rpm -q Singular-libs
On fedora 35 I get:
Singular-libs-4.2.0p3-1.fc35.x86_64
And my output from this
$ ldd /usr/lib64/python3.10/site-packages/sage/libs/singular/singular.cpython*
contains a line
libSingular-4.2.0.so =>
/usr/lib64/sagemath/local/lib/libSingular-4
Hi
On Fri, Jan 12, 2018 at 4:10 PM, João Alberto de França Ferreira
wrote:
> Is there a way to compute the local maximum of the absolute value of a
> polynomial with complex coefficients? the below snippet should exemplify my
> problem.
...
Maybe a trick like this works:
f(x) = x^2 + 2*I*x + 2
g
Hi,
On Thu, Oct 26, 2017 at 10:27 PM, Dima Pasechnik wrote:
> On Thursday, October 26, 2017 at 4:55:19 PM UTC+1, Renan Birck Pinheiro
> wrote:
>> gfortran is installed but sage still doesn't work. I do have
>> libgfortran.so.4 rather than libgfortran.so.3 that sage wants.
>>
>
> then your only wa
On Wed, Oct 4, 2017 at 10:31 PM, wrote:
> The crash report attached to this mail.
It looks like you hit this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1464520
You need to install psutils:
$ dnf install python2-psutil
I also had to install Singular-devel to get sage to start:
$ dnf insta
On Wed, Mar 8, 2017 at 6:56 AM, John H Palmieri wrote:
> Just about the last line in your crash report says
>
>ImportError: libgfortran.so.3: cannot open shared object file: No such
> file or directory
>
> So you need to install gfortran, however that is done with Fedora. An
> internet search
[x[0]**2 - x[1]**2 + 1, 2*x[0]*x[1]]
# The Jacobian:
df = np.array([[2*x[0], -2*x[1]], [2*x[1], 2*x[0]]])
return f, df
sol = opti.root(func, [0.5, 0.5], jac=True, method='lm')
print sol.x
Cheers,
--
Vegard Lima
--
You received this message because you are subscribed to the Google
is that this is too new for the sagemath
package in fc22...
Cheers,
--
Vegard Lima
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsub
On Tue, Sep 22, 2015 at 11:31 AM, Jeroen Demeyer wrote:
> There is your problem, you need IPython 3.x or later:
> On 2015-09-18 14:39, Stefano Facchini wrote:
>> 'ipython_version': '2.4.1',
To me this looks like the same problem that has been
discussed on this list before. The fix is here:
https
Hi,
On Sat, Sep 5, 2015 at 4:53 PM, Hillal TOUATI wrote:
> Please someone can help me to install sagemath on my laptop.
it looks like you are using the sagemath package on fedora 22
and that you have hit upon this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1258006
An update is available i
Hi,
On Tue, May 12, 2015 at 10:48 AM, Brenton wrote:
> Hi, I'd like to numerically integrate a simple pendulum problem:
>
> y'' = -9.8*cos(y)
> y,yd = var('y,yd')
> f= [0,-9.8*cos(y)]
> v= [y,yd]
I think your f is wrong. Shouldn't it be:
f = [yd, -9.8*cos(y)]
Cheers,
--
Vegard
--
Yo
On Tue, May 5, 2015 at 6:58 PM, Jotace wrote:
> I am trying to obtain the explicit expression for the solution od an ODE, my
> code is
> var('k')
> y= function('y',x)
> h=desolve(diff(y,x) - k*y*(1-y),y, ivar=x)
> h
For this example you can do something like:
eq = h.simplify_log()*k
eq2 = exp(eq
On Fri, Jan 30, 2015 at 8:05 PM, Lee Worden wrote:
> On Thursday, January 29, 2015 at 10:17:32 PM UTC-8, Vegard Lima wrote:
>> But I think that was my point...
>>
>> If you do something like this
>>
>> sage: a = var('a',latex_name='BLAH')
>
On Thu, Jan 29, 2015 at 11:55 PM, William Stein wrote:
> This is because Python is a *dynamically* typed language.Thinking
> that doing something like
>
> a = var('a',domain='real')
>
> would have any impact on what
>
> a = BLAH
>
> means would only make sense in a statically typed pro
27;real')
but that seems to behave a bit strangely:
sage: a = var('a')
sage: a.is_real()
False
sage: assume(a,"real")
sage: a.is_real()
False
sage: a = var('a',domain='real')
sage: a.is_real()
True
sage: a = 2+2*I
sage: a.is_real()
False
sage: a = v
se Date:
> 2014-08-10' of Sage.
I'm assuming this is the binary download of sage for ubuntu?
This discussion might be relevant:
http://trac.sagemath.org/ticket/8049
Maybe the suggestion there might help:
$ sudo apt-get install libgfortran3
(Don't know for sure since I'
On Thu, Feb 6, 2014 at 2:22 PM, Vegard Lima wrote:
> On Thu, Feb 6, 2014 at 2:07 PM, Volker Braun wrote:
>> This works for me on Fedora 20. Something must be wrong with your sed. What
>> do you get for
...
>> $ echo 5b5e732cd1eaa01bcfa2b47903ce6ea041a0f
On Thu, Feb 6, 2014 at 2:07 PM, Volker Braun wrote:
> This works for me on Fedora 20. Something must be wrong with your sed. What
> do you get for
>
> $ rpm -qf `which sed`
> sed-4.2.2-5.fc20.x86_64
> $ rpm -V sed
> $ echo 5b5e732cd1eaa01bcfa2b47903ce6ea041a0fae3 | sed 's/[^0-9a-f].*//'
> 5b5e732c
Hi,
I don't know if this is known but I get this error while
building sage 6.1.1 from source on fedora 20:
Found local sources at /sage-6.1.1/upstream/iconv-1.14.tar.bz2
Checksum: 5b5e732cd1eaa01bcfa2b47903ce6ea041a0fae3 vs 5b5e732cd1e
Invalid checksum for /sage-6.1.1/upstream/iconv-1.14.tar.bz2
On Mon, Jul 23, 2012 at 4:10 PM, Urs Hackstein
wrote:
> data=[[1, 2], [3, 4]]
I thought you said numpy array.
Don't think you can slice python lists.
This works here:
sage: import numpy as np
sage: data = np.array([[1, 2], [3, 4]])
sage: data[:,-2:]
array([[1, 2],
[3, 4]])
--
d.
How about: data[:,-2:]
Cheers,
--
Vegard Lima
--
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 group at
http://groups.google.com/group/sag
On Wed, Mar 14, 2012 at 8:34 AM, Laurent wrote:
> #! /usr/bin/sage -python
> # -*- coding: utf8 -*-
>
> from sage.all import *
> from scipy import stats
> import numpy
>
> X=stats.norm.rvs(size=300)
> K=((heaviside(x+1)-heaviside(x-1))).function(x)
>
> f = sum( [ K( (Xi-x) ) for Xi in X ] )
> p
Hi,
On Wed, Mar 14, 2012 at 7:56 AM, Laurent wrote:
> I'm searching for a function
> f(x)=1 if x in [a,b], =0 otherwise
how about using the Heaviside step function?
a=0
b=1
f(x) = heaviside(x-a) - heaviside(x-b)
Cheers,
--
Vegard
--
To post to this group, send email to sage-support@googleg
On Fri, Feb 17, 2012 at 10:52 AM, Santanu Sarkar
wrote:
> How to generate 1000 random integers which follow normal
> distribution with mean 0 and variance 0.1?
You can do this with numpy:
sage: import numpy as np
sage: mu, sigma = 0, sqrt(0.1) # mean and standard deviation
sage: s = np.random.no
then I got a webm file that at least firefox plays without problem.
For some reason it didn't work in Chromium, which is kind of odd.
Cheers,
--
Vegard Lima
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+u
+ 15195180*x^3 +
^
Was this "L" intentional?
Cheers,
--
Vegard Lima
--
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 group at
http://groups.goog
t; please open a ticket.
Thanks,
--
Vegard Lima
--
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 group at
http://groups.google.com/group/sage-support
I create a new ticket for this matrix(QQ,) thing?
Thanks,
--
Vegard Lima
--
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 group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
nel().dimension() + C.rank())
-10
On 32bit sage 4.7 on osx the answer is the correct 0.
Switching ZZ to QQ or RDF also restores the rank-nullity theorem.
Thanks,
--
Vegard Lima
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email t
lumns.
The first "dim null space" columns are correctly computed.
Thanks,
--
Vegard Lima
--
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 group
oduce the error, and when the number
of rows is less than 10 it only happens sometimes.
Also removing "dtype=np.int", so that the dtype of the
numpy matrix is the default float64, makes the error go away.
Any ideas what is happening?
Thanks,
--
Vegard Lima
--
To post to this group, sen
32 matches
Mail list logo