C++ Library Extensions 2022.12.09
To help learn modern C++ programming
052-fibonacci.cpp File Reference
#include <iostream>
#include <tbb/tbb.h>
Include dependency graph for 052-fibonacci.cpp:

Go to the source code of this file.

Classes

class  fibonacci< Type, go_serial >
 

Functions

template<typename Type >
Type fibonacci_loop (Type n)
 
template<typename Type >
Type fibonacci_recursion (Type n)
 
template<typename Type >
Type parallel_fibonacci (Type n)
 
int main ()
 

Function Documentation

◆ fibonacci_loop()

template<typename Type >
Type fibonacci_loop ( Type  n)

Definition at line 5 of file 052-fibonacci.cpp.

Here is the caller graph for this function:

◆ fibonacci_recursion()

template<typename Type >
Type fibonacci_recursion ( Type  n)

Definition at line 25 of file 052-fibonacci.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( )

Definition at line 82 of file 052-fibonacci.cpp.

Here is the call graph for this function:

◆ parallel_fibonacci()

template<typename Type >
Type parallel_fibonacci ( Type  n)

Definition at line 71 of file 052-fibonacci.cpp.

Here is the caller graph for this function: