|
From: | Jonathan Stickel |
Subject: | Re: Symbolic expand function doesn't always do anything |
Date: | Mon, 13 Sep 2004 14:53:53 -0700 |
User-agent: | Mozilla Thunderbird 0.7.3 (X11/20040803) |
Have you considered using a true CAS, e.g. Maxima? Or do you interface your symbolic results with octave numerics? Jonathan edA-qa mort-ora-y wrote:
Benjamin Sapp wrote:1. You can perform your example from ginsh in octave by surroundingeach exact number with quotes and vpa(). For example on my computer: octave:47> expand( (x-vpa("1"))^vpa("3"))I suspected as much it was a problem with not inretrepting the integers as integers, but I couldn't find any function that would give me an integer.Okay, I'll try this, or the gino approach and see which is more cumbersome. My problem is obviously that I'm using a variable for the exponent x^k, but k is for sure an integer value.
------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |