Exponentiation used in division? & Some extrordinary slowness is some problems.



If your calculations are in bfloat, they will be many orders of magnitude
slower than machine floats (using modedeclare and compile), and there's
nothing you can do within Maxima to improve that.

There are other packages for multiprecision arithmetic that are much faster
if you don't need Maxima's symbolic capabilities.

But as Fateman suggested, if that's not the problem, we can help you best
if you send a *short, self-contained, reproducible* example of your problem.

           -s



On Tue, Dec 31, 2013 at 1:04 PM, Dennis Darland - student <
student at dennisdarland.com> wrote:

> I've decided to try modedeclare. If I remember correctly, I could not use
> bfloat in declare_variable either. I will
> try to isolate the changes however. I only have one program to generate c,
> c++, Ruby, Maxima or Maple.
>
> Dennis Darland
> student at dennisdarland.com
>
>
> On 12/31/2013 11:08 AM, Robert Dodier wrote:
>
>> On 2013-12-31, Dennis Darland - student <student at dennisdarland.com>
>> wrote:
>>
>>  I do not expect maxima to be comparable to c at number crunching,
>>> but there are two examples in my tests that it appears would take over
>>> one day to complete using maxima, but take only 4 and 5 seconds
>>> respectively in c.
>>>
>> A major factor is that Maxima is probably doing something much more
>> general than necessary. Speeding up the code would require recognizing
>> that a special case is possible and then exploiting it. Maxima has some
>> machinery for that, but it is clumsy to use and not terribly effective.
>> I certainly agree that getting Maxima to run faster is a good idea, but
>> at present we (developers) are mostly concerned with trying to get it
>> to run correctly first. If you would like to work on speed, though, you
>> are more than welcome to do so.
>>
>> best
>>
>> Robert Dodier
>>
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>