Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
BlaEigen.c File Reference

Computing the extreme eigenvalues. More...

#include <math.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

REAL fasp_dcsr_maxeig (const dCSRmat *A, const REAL tol, const INT maxit)
 Approximate the largest eigenvalue of A by the power method. More...
 

Detailed Description

Computing the extreme eigenvalues.

Note
This file contains Level-1 (Bla) functions. It requires: AuxVector.c, BlaArray.c, BlaSpmvCSR.c, and BlaVector.c

Copyright (C) 2009–Present by the FASP team. All rights reserved.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file BlaEigen.c.

Function Documentation

◆ fasp_dcsr_maxeig()

REAL fasp_dcsr_maxeig ( const dCSRmat A,
const REAL  tol,
const INT  maxit 
)

Approximate the largest eigenvalue of A by the power method.

Parameters
APointer to the dCSRmat matrix
tolTolerance for stopping the power method
maxitMax number of iterations
Returns
Largest eigenvalue
Author
Xiaozhe Hu
Date
01/25/2011

Definition at line 37 of file BlaEigen.c.