octave-maintainers
[Top][All Lists]
Advanced

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

Re: Symbolic pkg vpa trig speed


From: Colin Macdonald
Subject: Re: Symbolic pkg vpa trig speed
Date: Wed, 6 Jul 2016 21:44:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 06/07/16 20:23, Daniel J Sebald wrote:
The xv16 = bit seems take longer than I expect...

If the xv16 case was the first time sin was called for a symbolic
variable,
the time may include loading some code into memory, or other
initialization.
What happens if you do them in the reverse order?

Thanks, but I meant the conversion from double to vpa takes too long: an order of magnitude longer than computing sin.

I think its just overhead because of a rather horrid loop over all elements done in vpa.m: easily fixable, but I may want to do it with pytave.

Colin



reply via email to

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