version 0.6.0
Loading...
Searching...
No Matches
Mathematical functions

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.
 

Detailed Description

Function Documentation

◆ is_a_power_of_two()

elemental logical function mod_math_algebra::is_a_power_of_two ( integer, intent(in) n)

Helps to verify that the number of cells in each direction is a power of two (may be necessary to Hypre's solvers)