Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Spire.PDF for Java 2.7.8
Database Workbench Pro 5.6.10.0
The C# PDF Library 2020.1.5
CAD-Viewer 3DVBVIEW V4
dotConnect for SQLite 5.15
LuaStudio 9.92
EntityDAC 2.3
Devart ODBC Driver for QuickBooks 2.0
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
Top Code
SecureBridge 8.0
dotConnect for SQLite 5.9
Database Workbench Pro 5.6.10.0
ATN Site Builder 3.0
EntityDAC 1.6
ATN Resume Finder 2.0
PHP Review Script 1.0
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
The C# PDF Library 1.0
A beginner's guide to threading in C#
Active Dhtml Drop Down Menu In Java Script 2.I
Ping Pong Game Code Script 1.1
Creating and Using Custom Attributes in C#
Compiling Components in Visual Basic for ASP
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Conjugate Gradient Method 1.0
File ID: 79395






Conjugate Gradient Method 1.0
Download Conjugate Gradient Method 1.0http://www.mathworks.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 92
Submit Rating:
Conjugate Gradient Method 1.0 Description
Description: The conjugate gradient method aims to solve a system of linear equations, Ax=b, where A is symmetric, without calculation of the inverse of A. It only requires a very small amount of membory, hence is particularly suitable for large scale systems.

It is faster than other approach such as Gaussian elimination if A is well-conditioned. For example,

n=1000;
[U,S,V]=svd(randn(n));
s=diag(S);
A=U*diag(s+max(s))*U'; % to make A symmetric, well-contioned
b=randn(1000,1);
tic,x=conjgrad(A,b);toc
tic,x1=Ab;toc
norm(x-x1)
norm(x-A*b)

Conjugate gradient is about two to three times faster than Ab, which uses the Gaissian elimination.

License: Freeware

Related: Approach, gaussian, faster, systemsit, suitable, Large, Scale, elimination, wellconditioned, times, gaissian, examplen usv dsvdrandnns ddiagsa dudiags bmaxsu, Linear

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 92



More Similar Code

This code uses conjugate gradient method to solve the linear system
Ax= b, where A is symmetric and banded. A is first stored in a
compactstorage mode, using the function "compactstorage", and then
conjugate gradient method is applied to the compactly stored matrix.
Input: A, initial guess x, vector b, tolerance called epsilon and
maximum number of iteration called MaxIter.
Output: computed solution x...



SSRLSWAM is a combination of SSRLS and stochastic gradient method .
It exploits the concept of forgetting factor d?T¬ that may be required due to model uncertainty, presence of unknown external disturbances, time-varying nature of observed...



Group and Block Sparse Signal reconstruction via
Matching Pursuit - BMP, GMP
Gradient Pursuit - block_gp, group_gp
Nearly Orthogonal Matching Pursuit - block_nomp, group_nomp
Partial Conjugate Gradient Pursuit - block_pcgp,...



PCG Preconditioned Conjugate Gradients Method is a replacement of the standard built-in PCG code. Two new options are implemented: 'flex' and 'null'. The 'flex' option changes the standard PCG algorithm into the flexible one. It allows using...



This book provides a complete analysis of the conjugate gradient and generalized minimum residual iterations.

For a full book description and ordering information, please refer to http://www.mathworks.com/support/books/book1344.jsp.



Group and Block Sparse Signal reconstruction via
Matching Pursuit - BMP, GMP
Gradient Pursuit - block_gp, group_gp
Nearly Orthogonal Matching Pursuit - block_nomp, group_nomp
Partial Conjugate Gradient Pursuit - block_pcgp,...



Group and Block Sparse Signal reconstruction via
Matching Pursuit - BMP, GMP
Gradient Pursuit - block_gp, group_gp
Nearly Orthogonal Matching Pursuit - block_nomp, group_nomp
Partial Conjugate Gradient Pursuit - block_pcgp,...



Auto2Fit is a revolution tools and beats all other simliar ones in the area of nonlinear regression.Almost all data analysis software packages (SPSS, SAS, Statistical, Origin Pro, DataFit, Stata or Systat) need end-users to provide/guess initial...



[blockVectorX,lambda]=lobpcg(blockVectorX,operatorA)
outputs the array of algebraic smallest eigenvalues lambda and
corresponding matrix of orthonormalized eigenvectors blockVectorX of the Hermitian (full or sparse) operator operatorA...



Non-visual Delphi component for scientific calculation. It implements several methods of local minimization. The objective function can be specified in symbolical form. Methods implemented: Rosenbrock method Quasi-Newton algorithms...

User Review for Conjugate Gradient Method
- required fields
     

Please enter text on the image