6 #ifndef MYRAMATH_ITERATIVE_MIXED_REFINE_H 7 #define MYRAMATH_ITERATIVE_MIXED_REFINE_H 15 #include <myramath/MYRAMATH_EXPORT.h> 22 template<
class Number>
class Action;
23 template<
class Number>
class MatrixRange;
24 template<
class Number>
class VectorRange;
29 MYRAMATH_EXPORT std::vector<double> mixed_refine(
const Action<NumberD>& A,
const Action<NumberS>& M,
const MatrixRange<NumberD>& B,
double tolerance = 1.0e-12,
int iterations = 20);
30 MYRAMATH_EXPORT std::vector<double> mixed_refine(
const Action<NumberZ>& A,
const Action<NumberC>& M,
const MatrixRange<NumberZ>& B,
double tolerance = 1.0e-12,
int iterations = 20);
35 MYRAMATH_EXPORT std::vector<double> mixed_refine(
const Action<NumberD>& A,
const Action<NumberS>& M,
const VectorRange<NumberD>& b,
double tolerance = 1.0e-12,
int iterations = 20);
36 MYRAMATH_EXPORT std::vector<double> mixed_refine(
const Action<NumberZ>& A,
const Action<NumberC>& M,
const VectorRange<NumberZ>& b,
double tolerance = 1.0e-12,
int iterations = 20);
Various utility functions/classes related to scalar Number types.