[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Symbolic expand function doesn't always do anything

From: edA-qa mort-ora-y
Subject: Re: Symbolic expand function doesn't always do anything
Date: Mon, 13 Sep 2004 21:15:54 +0200
User-agent: Mozilla Thunderbird 0.6 (X11/20040502)

Benjamin Sapp wrote:
1.   You can perform your example from ginsh in octave by surrounding
each 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.

edA-qa mort-ora-y
Idea Architect

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]