|
NUMCXX
0.13.20181108
Numerical library for small projects and teaching purposes
|
Include dependency graph for 05-cxx-style-sharedptr2.cxx:Go to the source code of this file.
Functions | |
| void | initialize (std::vector< double > &x) |
| We pass (as in example 03) a reference to the vector to the functions using it. More... | |
| double | sum_elements (std::vector< double > &x) |
| int | main () |
| void initialize | ( | std::vector< double > & | x | ) |
We pass (as in example 03) a reference to the vector to the functions using it.
This is possible as long as the function itself does not store the vector in another class.
Definition at line 17 of file 05-cxx-style-sharedptr2.cxx.
| double sum_elements | ( | std::vector< double > & | x | ) |
Definition at line 23 of file 05-cxx-style-sharedptr2.cxx.
Here is the call graph for this function:| int main | ( | void | ) |
Definition at line 30 of file 05-cxx-style-sharedptr2.cxx.
Here is the call graph for this function:
1.8.11