AlgebraicMultigrid 0.1
C++ algebraic multigrid.
Loading...
Searching...
No Matches
common.hpp File Reference
#include <Eigen/Core>
#include <Eigen/Sparse>

Go to the source code of this file.

Namespaces

namespace  AMG
 

Functions

template<class EleType >
EleType AMG::rss (const Eigen::SparseMatrix< EleType > &A, const Eigen::Matrix< EleType, -1, 1 > &u, const Eigen::Matrix< EleType, -1, 1 > &b)
 Return residual sum of squares of bhat from Au and rhs b.