Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

PCG code in MATLAB
Hi! I am a PhD student, and I am testing a new iterative solver
against the standard conjugate gradient (CG) algorithm. Does anyone
know the specific preconditioned CG (PCG) code MATLAB uses? What
kinds of "tricks" does it use to speed convergence? (I have written
a separate code to do CG, but my implementation of CG takes many more
iterations than MATLAB's PCG code, even without preconditioners.)
Thanks for your help!

Report this thread to moderator Post Follow-up to this message
Old Post
Jerry O'Neal
05-28-05 08:59 PM


Re: PCG code in MATLAB
"Jerry O'Neal" <joneal@isye.gatech.edu> wrote in message
news:ef0762f.-1@webx.raydaftYaTP...
> Hi! I am a PhD student, and I am testing a new iterative solver
> against the standard conjugate gradient (CG) algorithm. Does anyone
> know the specific preconditioned CG (PCG) code MATLAB uses? What
> kinds of "tricks" does it use to speed convergence? (I have written
> a separate code to do CG, but my implementation of CG takes many more
> iterations than MATLAB's PCG code, even without preconditioners.)
> Thanks for your help!

In the MATLAB Command Window, type either "doc pcg" (without the quotes) for
a reference to a book from SIAM or "edit pcg" for the code used by the PCG
function.

--
Steve Lord
slord@mathworks.com



Report this thread to moderator Post Follow-up to this message
Old Post
Steven Lord
05-31-05 09:05 PM


Re: PCG code in MATLAB
Steve,

Thank you for the info. I will take a good look at the code and
compare it to mine. Appreciate your help!

Jerry

Steven Lord wrote:
>
>
>
> "Jerry O'Neal" <joneal@isye.gatech.edu> wrote in message
> news:ef0762f.-1@webx.raydaftYaTP... 
> anyone 
What 
> written 
many
> more 
preconditioners.) 
>
> In the MATLAB Command Window, type either "doc pcg" (without the
> quotes) for
> a reference to a book from SIAM or "edit pcg" for the code used by
> the PCG
> function.
>
> --
> Steve Lord
> slord@mathworks.com
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Jerry O'Neal
05-31-05 09:05 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Matlab archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:34 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.