Loading...
Searching...
No Matches
power_iteration.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  terra
 
namespace  terra::linalg
 Contains linear algebra utilities and functions for the Terra project.
 
namespace  terra::linalg::solvers
 

Functions

template<terra::linalg::OperatorLike OperatorT>
double terra::linalg::solvers::power_iteration (OperatorT &op, SrcOf< OperatorT > &tmpIt, SrcOf< OperatorT > &tmpAux, const int iterations)
 Power iteration to estimate the largest eigenvalue of a row-normalized operator D^{-1}A, where D^{-1} is the inverted diagonal of A.