API¶
full¶
gmres¶
-
template<typename T>
matrix<T> castor::gmres(hmatrix<T> const &Ah, matrix<T> const &B, double tol, std::size_t maxit, hmatrix<T> const &Lh, hmatrix<T> const &Uh, matrix<T> const &X0 = matrix<T>())¶
-
template<typename T>
matrix<T> castor::gmres(hmatrix<T> const &Ah, matrix<T> const &B, double tol, std::size_t maxit, hmatrix<T> const &Ahm1, matrix<T> const &X0 = matrix<T>())¶
-
template<typename T>
matrix<T> castor::gmres(hmatrix<T> const &Ah, matrix<T> const &B, double tol = 1e-6, std::size_t maxit = 10, std::function<matrix<T>(matrix<T> const&)> const &Am1 = std::function<matrix<T>(matrix<T> const&)>(), matrix<T> const &X0 = matrix<T>())¶ Iterative solver using hierarchical matrix-vector product, eventually using hierarchical preconditionners.
inv¶
linsolve¶
lu¶
mtimes¶
size¶
spydata¶
tgeabm¶
tgemm¶
transpose¶
operators¶
operator<<¶
operator+¶
operator-¶
operator*¶
operator/¶
operator+=¶
-
hmatrix<T> &castor::hmatrix::operator+=(hmatrix<T> const &Bh)¶
-
hmatrix<T> &castor::hmatrix::operator+=(T b)¶
In-place addition of hmatrix or scalar : Ah -> Ah + b, Ah -> Ah + Bh.
operator*=¶
-
hmatrix<T> &castor::hmatrix::operator*=(T b)¶
In-place hmatrix scalar multiplication : Ah -> Ah*b.