Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.331.254 Times

lobpcg.m 1.0

  Date Added: June 24, 2013  |  Visits: 341

lobpcg.m

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



[blockVectorX,lambda]=lobpcg(blockVectorX,operatorA)outputs the array of algebraic smallest eigenvalues lambda andcorresponding matrix of orthonormalized eigenvectors blockVectorX of the Hermitian (full or sparse) operator operatorA using input matrix blockVectorX as an initial guess, without preconditioning, somewhat similar toopts.issym=1;opts.isreal=1;K=size(blockVectorX,2);[blockVectorX,lambda]=eigs(operatorA,K,'SR',opts);for real symmetric operator operatorA, orK=size(blockVectorX,2);[blockVectorX,lambda]=eigs(operatorA,K,'SR');for Hermitian operator operatorA.[blockVectorX,lambda,failureFlag]=lobpcg(blockVectorX,operatorA)also returns a convergence flag. If failureFlag is 0 then all the eigenvalues converged; otherwise not all converged.[blockVectorX,lambda,failureFlag,lambdaHistory,residualNormsHistory]=...lobpcg(blockVectorX,'operatorA','operatorB','operatorT',blockVectorY,...residualTolerance,maxIterations,verbosityLevel);computes smallest eigenvalues lambda and corresponding eigenvectors blockVectorX of the generalized eigenproblem Ax=lambda Bx, where Hermitian operators operatorA and operatorB are given as functions, as well as a preconditioner, operatorT. The operators operatorB and operatorT must be in addition POSITIVE DEFINITE. To compute the largest eigenpairs of operatorA, simply apply the code to operatorA multiplied by -1. The code does not involve ANY matrix factorizations of operratorA and operatorB, thus, e.g., it preserves the sparsity and the structure of operatorA and operatorB.residualTolerance and maxIterations control tolerance and max number of steps, and verbosityLevel = 0, 1, or 2 controls the amount of printed info. lambdaHistory is a matrix with all iterative lambdas, and residualNormsHistory are matrices of the history of 2-norms of residualsRequired input:blockVectorX - initial approximation to eigenvectors, full or sparse matrix n-by-blockSize. blockVectorX must be full rank.operatorA - the operator of the problem, can be given as a matrix or as an M-fileOptional function input:operatorB - the second operator, if solving a generalized eigenproblem, can be given as a matrix or as an M-file; by default, or if empty, operatorB=I.operatorT - preconditioner, must be given by an M-file; by default, operatorT=I.Optional constraints input:blockVectorY - a full or sparse n-by-sizeY matrix of constraints, where sizeY < n. The iterations will be performed in the (operatorB-) orthogonal complement of the column-space of blockVectorY. blockVectorY must be full rank.Optional scalar input parameters:residualTolerance - tolerance, by default, residualTolerance=n*sqrt(eps)maxIterations - max number of iterations, by default, maxIterations = min(n,20)verbosityLevel - either 0 (no info), 1, or 2 (with pictures); by default, verbosityLevel = 0.Required output: blockVectorX and lambda are computed blockSize eigenpairs, where blockSize=size(blockVectorX,2) for the initial guess blockVectorX if it is full rank.Optional output: failureFlag, lambdaHistory and residualNormsHistory are described above.Functions operatorA(blockVectorX), operatorB(blockVectorX) andoperatorT(blockVectorX) must support blockVectorX being a matrix, not just a column vector.Every iteration involves one application of operatorA and operatorB, and one of operatorT.Main memory requirements: 6 (9 if isempty(operatorB)=0) matrices of the same size as blockVectorX, 2 matrices of the same size as blockVectorY (if present), and two square matrices of the size 3*blockSize.This main function LOBPCG is a version of the preconditioned conjugate gradient method (Algorithm 5.1) described inA. V. Knyazev, Toward the Optimal Preconditioned Eigensolver:Locally Optimal Block Preconditioned Conjugate Gradient Method,SIAM Journal on Scientific Computing 23 (2001), no. 2, pp. 517-541. http://dx.doi.org/10.1137/S1064827500366124Known bugs/features:- an excessively small requested tolerance may result in often restarts and instability. The code is not written to produce an eps-level accuracy! Use common sense. - the code may be very sensitive to the number of eigenpairs computed, if there is a cluster of eigenvalues not completely included, cf.operatorA=diag([1 1.99 2:99]);[blockVectorX,lambda]=lobpcg(randn(100,1),operatorA,1e-10,80,2);[blockVectorX,lambda]=lobpcg(randn(100,2),operatorA,1e-10,80,2);[blockVectorX,lambda]=lobpcg(randn(100,3),operatorA,1e-10,80,2);The main distribution site: http://math.ucdenver.edu/~aknyazev/A C-version of this code is a part of the http://code.google.com/p/blopex/ package and is directly available, e.g., in PETSc and HYPRE.License: GNU LGPL ver 2.1 or aboveCopyright (c) 2000-2010 A.V. Knyazev, BLOPEX team$Revision: 4.12 $ $Date: 14-Mar-2010Tested in MATLAB 6.5-7.9.0.529 and Octave 3.2.3.

Requirements: No special requirements
Platforms: Matlab
Keyword: 20002010 Av 2001 No 21 Or 51 Described 65790529 And Abovefunctions Operatorablockvectorx Accuracy Addition Positive Algebraic Smallest Algorithm All The Amount Epslevel Excessively Httpdxdoiorg Iterative Mar Tested
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


LOBPCG.M RELATED
Automotive Information Databases  -  EDL CyberCafe 1.1
So you are opening up your own Internet Cafe or you are looking at adding a computer to the business model, but you do not want to spend a lot of time babysitting it, learning some complicated software, hooking up a network or training your...
9.56 MB  
Dial-up Networking Tools  -  Tru 1.0.0.0
Tru is an automatic photo organizer that helps you to keep all your photo collection organized without any dupes or confusing folders. Download and get started with Tru in minutes - simply connect all your folders & tell Tru where you'd like your...
21.95 MB  
File Security  -  SpyDetect Free 1.0.1
SpyDetectFree is a FREE tool intended mainly for your computer detecting processes that might be relevant to tracking any spying activities on your keyboard, or in other words for tracking the activities that might be similar to recording your...
930 KB  
Utilities  -  DirLister 2.1
This small and simple program lets you create a list of all the files contained in a set folder (or in various) easily. For example, if you need to have an MP3 song that`s saved to your PC, or you need your documents to hand, DirLister is the tool...
2 KB  
Finance  -  Bankruptcy 1.0
Clear Insolvency - This simple application will give you all the information you need to consider if facing bankruptcy or unmanageable debts. Includes a function so that you can contact an Insolvency Advisor directly for any help. Clear Insolvency...
214 KB  
Dictionaries  -  Manifest Maker 3.0.1
Manifest Maker is a graphical Python application which takes a file or group of files and creates a plain text manifest list of each item. The manifest includes the file name (including directory structure) as well as a checksum of the file.
26.22 KB  
Development Tools  -  Demo Harvest 1.0
Demo Harvest finds and indexes all the published m-files in a given directory or list of directories. In this way it can help you find previous work you are done or it can notify you about new work done by others. It gathers all the demos and...
266.24 KB  
Video Recorders  -  Free DVD Decrypter 1.3.2.3
Free DVD Decrypter. Copy video DVD to your computer hard drive with one mouse click. Very fast and easy. This free program contains no spyware or adware. It's clearly free and absolutely safe to install and run.
2.51 MB  
Graphical Text Tools  -  TinyPDF 2.00
Use any printable document to create professional quality PDF files totally free, with no need of Acrobat or GhostScript. TinyPDF features: No adware, No spyware, No malware, No watermarks, No popup - no catch! Completely FREE PDF Converter and...
586.03 KB  
Automation Tools  -  KeyOff 2.5
KeyOff monitors keyboard and mouse and initiates computer shutdown if the there has been no key or mouse activity for a specified length of time. It can be started manually or automatically via the Windows Task Scheduler. The shutdown time and...
492.99 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB  
Development Tools  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB