Yep, that did it. Comparing the path variables showed them to be quite
different. I've added the following to my init.sage:
os.environ["PATH"]+=":/usr/texbin:/usr/local/bin"
and everything runs happy. Just adding /usr/texbin didn't work because Sage
also needs to find 'convert' which I have
The paths are definitely different for terminal launched and app launched
Sage, and app launched Sage doesn't include /usr/texbin.
Sorry to sound so helpless, but what syntax would I use to add it to my
init.sage? I don't currently have one, and I've come up blank searching for
it in the docum
I'm noticing that the problem only happens when launching Sage.app. If I
install the command line version, it detects Latex just fine. Also, if I
launch the sage binary from within the Sage.app package (the one in
Contents/Resources/sage, not the one closer to the app root), it also seems
to
I've installed MacTex and I'm still having the same problem. You won't see
this problem for most typeset results because Sage attempts to use jsMath,
but it turns up when typesetting a result that jsMath can't handle (or if
you force it to use go straight to latex by using the jsmath_avoid_list
like g(x)=sin(x) + `f(x)`
Am I making sense, or just digging my credibility hole deeper? In my
defense, I've only had a couple days of playtime with the system so far...
Cheers--
Greg
On Fri, Apr 2, 2010 at 5:42 PM, Simon King wrote:
> Hi!
>
> On 3 Apr., 00:30, G B wrote:
Ok, I'll take that as an admonition to not give up too soon. =)
It does feel like a toolset that would give me a lot of capability if
I can only learn to control it...
Thanks again for the help.
Cheers--
Greg
On Apr 2, 4:31 pm, William Stein wrote:
> On Fri, Apr 2, 2010 at 3:30
gain confidence, lose track of
these various function types, and not realize that the results I'm
getting are incorrect.
On Mar 30, 7:04 pm, William Stein wrote:
> On Tue, Mar 30, 2010 at 7:01 PM, G B wrote:
> > Apologies for being dense, but I'm missing something. All three
Should mention this is 4.3.3, 64 bit OS X 10.6.2
On Mar 30, 7:01 pm, G B wrote:
> Apologies for being dense, but I'm missing something. All three forms
> ( f(x), def f(x) and f=lambda x: ) are giving the same results.
>
> Trying:
> -
> var('x')
> T=
---
and
var('x')
T=RealDistribution('gaussian',1)
f=lambda x: sin(x)+ T.get_random_element()
plot(f(x),(x,0,2*pi))
-
all give me a clean sine with a random offset, rather than sine
+noise...
On Mar 30, 2:30 pm, William Stein wrote:
> On Tue, Mar 30,
Hi--
I'm trying to figure out how to use RealDistributions to model noise.
For example, I would like to model a signal+noise and tried using this
construct:
T=RealDistribution('gaussian',1)
f(x)=sin(x)+T.get_random_element()
plot(f(x),(x,0,2*pi))
Unfortunately, that only calls get_random_element
For anyone interested, it looks as though the GiNaC project has
released a fix:
http://www.cebix.net/pipermail/ginac-devel/2010-March/001732.html
I've posted this to the dev list as well.
Cheers--
Greg
On Mar 23, 7:00 pm, G B wrote:
> I won't clutter the discussion with the f
On Mar 23, 1:18 am, Ondrej Certik wrote:
> Hi Minh!
>
>
>
>
>
> On Mon, Mar 22, 2010 at 8:55 PM, Minh Nguyen wrote:
> > Hi Greg,
>
> > On Tue, Mar 23, 2010 at 9:35 AM, G B wrote:
> >> Hi Ondrej--
>
> >> Sorry to turn helpless, but I'm
le?
Thanks for following up.
Thanks--
Greg
On Mar 19, 7:32 pm, Ondrej Certik wrote:
> On Fri, Mar 19, 2010 at 7:03 PM, Ondrej Certik wrote:
> > On Thu, Mar 18, 2010 at 5:10 PM, G B wrote:
> >> Thanks. I tried that but it's causing different problems:
> >>
27;substitute'
The code with the .substitute line seems to work for (t%30 <> 0) so I
think I've formatted my equations properly.
Apologies if I'm doing something horribly hackish-- I'm new to Sage.
Any other ideas?
Thanks--
Greg
On Mar 18, 1:40 pm, Alec Mihailovs w
Should have also mentioned:
Sage 4.3.3
OS X 10.6.2
64bit Intel
MacBook Pro
On Mar 17, 5:38 pm, G B wrote:
> While waiting to be approved, I think I narrowed this down to a very
> simple test case.
>
> atan2(3,0) --> 1/2*pi
> atan2(-3,0) --> -1/2*pi
> atan2(pi,0)
Try
plot(f(t), ymax=17, ymin=-12)
On Mar 17, 2:32 pm, Nareto wrote:
> Hello, I have to plot an exponential function with vertical asymptote
> in point tc, but
>
> plot(f(t), (tc - e, tc + e));
>
> gives me unreadable plots for any values of e - if e is to large the
> curvature is not apreciab
While waiting to be approved, I think I narrowed this down to a very
simple test case.
atan2(3,0) --> 1/2*pi
atan2(-3,0) --> -1/2*pi
atan2(pi,0) --> 1/2*pi
atan2(-pi,0) --> RuntimeError: power::eval(): division by zero
Any ideas how to get around this?
Thanks--
Greg
Here's the full trac
17 matches
Mail list logo