Useful mathematical functions. More...
Topics | |
| Polynomial real roots | |
| Tools to compute the real roots of quadratic, cubic, and quartic polynomials. | |
| Polynomial roots | |
| Tools to compute the complex roots of quadratic, cubic, and quartic polynomials. | |
Namespaces | |
| module | mod_math_algebra |
| Algebraic Functions. | |
| module | mod_math_linalg |
| Linear algebra functions. | |
Functions | |
| elemental logical function | mod_math_algebra::is_a_power_of_two (n) |
| Tell whether argument is a power of two. | |
Useful mathematical functions.
| elemental logical function mod_math_algebra::is_a_power_of_two | ( | integer, intent(in) | n | ) |
Tell whether argument is a power of two.
Helps to verify that the number of cells in each direction is a power of two (may be necessary to Hypre's solvers)