Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Lapack spptrf function
Replies: 10   Last Post: Apr 12, 2013 11:08 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Francesco Perrone

Posts: 39
Registered: 5/2/12
Re: Lapack spptrf function
Posted: Apr 12, 2013 8:54 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear Mr. Tursa,

I just made a little change to your code:

between lin 44 and 46 your called a while loop:

while( (N*(N+1))/2 < M ) { /* lazy way to do this */
N++;
}
and I replaced it with a do...while one:

do{
N++;
} while ( N*(N+1)/2 < M );

Do you think it will increase anyhow the computation performances?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.