libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::dyn::fibonacci Struct Reference

#include <fibonacci.hpp>

Public Types

typedef unsigned long long element_type
 

Static Public Member Functions

static element_type result (element_type N) noexcept(true)
 

Detailed Description

Definition at line 57 of file fibonacci.hpp.

Member Typedef Documentation

◆ element_type

Definition at line 58 of file fibonacci.hpp.

Member Function Documentation

◆ result()

static element_type jmmcg::LIBJMMCG_VER_NAMESPACE::dyn::fibonacci::result ( element_type  N)
inlinestaticnoexcept

Complexity: O(N)

Parameters
NThe number for which the Fibonacci number should be computed.
Returns
Return the Fibonacci number.

Definition at line 66 of file fibonacci.hpp.


The documentation for this struct was generated from the following file: