|
NUMCXX
0.13.20181108
Numerical library for small projects and teaching purposes
|
Include dependency graph for 03-cxx-style-ref.cxx:Go to the source code of this file.
Functions | |
| void | initialize (std::vector< double > &x) |
| The class std::vector contains size information and can be instantiated for any data type. More... | |
| double | sum_elements (std::vector< double > &x) |
| int | main () |
| void initialize | ( | std::vector< double > & | x | ) |
The class std::vector contains size information and can be instantiated for any data type.
Here we do it for double. We pass a reference to the vector to the functions using it.
Definition at line 15 of file 03-cxx-style-ref.cxx.
| double sum_elements | ( | std::vector< double > & | x | ) |
Definition at line 21 of file 03-cxx-style-ref.cxx.
Here is the call graph for this function:| int main | ( | void | ) |
Definition at line 28 of file 03-cxx-style-ref.cxx.
Here is the call graph for this function:
1.8.11