numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
isfinite.h File Reference

Definition of isfinite function. More...

#include <cmath>
#include <complex>
#include "num_collect/base/concepts/real_scalar.h"
Include dependency graph for isfinite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
namespace  num_collect::base
 Namespace of definitions common in this project.

Functions

template<concepts::real_scalar T>
auto num_collect::base::isfinite (const std::complex< T > &val) -> bool
 Check whether a number is finite.
template<concepts::real_scalar T>
auto num_collect::base::isfinite (const T &val) -> bool
 Check whether a number is finite.

Detailed Description

Definition of isfinite function.

Definition in file isfinite.h.