Hi folks,
I want to use Sage to do repeated calculations of simple euclidean
geometry. I was using a library that used classes like this:
class Vector2:
__slots__ = ['x', 'y']
def __init__(self, x, y):
self.x = x
self.y = y
I like to refer to x and y coords of a vector v, no
Hi,
The problem still persists. After following the solution that Jan
provided i got errors; i am posting the last couple of lines:
IOError: ('http error', 407, 'Proxy Authentication Required',
)
Error getting new packages!
On searching some more here i got some solution where Prof. Stein had
me
On 9/19/10 7:09 AM, KvS wrote:
Alright, many thanks for the clear and extensive answer Thierry.
Bottomline is thus that I'll have to live with it.
On a sidenote, I must admit it surprises me. I'm only an amateur
programmer, let alone that I know anything about the subtleties of how
cpus interac
The 'readline hell' part is an annoying openSUSE problem. If you see
the file spkg-install of the package readline, you will find that
there is a provision for trying to recognize the system's readline
package. But this is only useful for some versions of openSUSE. For
example readline in sage-4.5.
It's unclear to me whether plot3d, when started from (non-notebook)
sage actually needs a browser running.
The FAQ (http://www.sagemath.org/doc/faq/faq-usage.html) says one
needs to install Java SDK (sic!)
I understand one runs the jmol applet that does the actual work. Is a
browser with a java plu
Well, do a fresh install instead, if this does not work for you.
-upgrade is known to misbehave now and then.
Dima
On Sep 20, 4:10 pm, samrat wrote:
> Hi,
>
> The problem still persists. After following the solution that Jan
> provided i got errors; i am posting the last couple of lines:
>
> IOEr
On Sep 20, 7:38 am, Dima Pasechnik wrote:
> It's unclear to me whether plot3d, when started from (non-notebook)
> sage actually needs a browser running.
No, you should be able to view the plots with just Java (maybe with
SDK? I don't know for sure on that). Also, if you use the
viewer='tachyo
Hello,
I am attempting to create a .wav file from an array in sage using the
package wavfile. I am importing a .wav file using the package
wavfile, and then using the python wavelets package 'pywt' to create
the array. Here are the commands:
import pywt, scipy, numpy
from scipy.io import wavfil
On 09/20/2010 10:37 AM, j wade wrote:
> I am attempting to create a .wav file from an array in sage using the
> package wavfile. I am importing a .wav file using the package
> wavfile, and then using the python wavelets package 'pywt' to create
> the array. Here are the commands:
>
> import pywt
I think the scipy wavefile function doesn't like Sage ints. So if
your last line is:
wavfile.write("./noisyholanew.wav",int(44100), xnew)
there are no errors, although when I try to play it (with a input wav
of two sine waves) I don't hear anything.
-M. Hampton
On Sep 20, 10:37 am, j wade wro
Using the python wave module directly seems to work; once you have
xnew as above you can do:
import wave
class SoundFile:
def __init__(self, signal,outname=''):
self.file = wave.open(outname, 'wb')
self.signal = signal
self.sr = 44100
def write(self):
self.file
Hello!
I'm trying to solve this ODE:
var('t alpha beta n')
x=function('x',t)
eq=diff(x,t)^2==alpha-beta abs(x)^n
assume(n,'integer')
desolve(eq,x,ivar=t,contrib_ode=True)
but I get:
Traceback (click to the left of this block for traceback)
...
Is n an integer?
but I've already told sage that
Hi all:
This looks like a bug in Sage 4.5.3 regarding solving linear systems.
Alex
--
| Sage Version 4.5.3, Release Date: 2010-09-04 |
| Type notebook() for the GUI, and license() for information.|
On 09/20/2010 08:17 PM, Marshall Hampton wrote:
> I think the scipy wavefile function doesn't like Sage ints. So if
Oops. Thanks, Marshall!
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups
Why SDK (nowadays called JDK, apparently)?
Would JRE be enough? But if so, what does "installed" mean? When you
pull a jre6 distribution from Oracle/Sun, the instructions
only talk about how to set up the web browser to use it, nothing more.
Or an "applet viewer" only comes with JDK?
In fact, I wo
On Sep 21, 12:49 pm, Dima Pasechnik wrote:
> In fact, I would like to know as well what happens if Sage is run
> remotely, via X11.
> Does the Java (DK, or RE, whatever) need to be installed on the
> server, and then one views it via X11?
Indeed, that's how this works.
By the way, in my case, Deb
16 matches
Mail list logo