#include <cassert>
#include <iostream>
#include <numeric>
Go to the source code of this file.
|
| void | init_Carray (int n, double *x) |
| | Initializes a dynamic C array.
|
| |
| void | print_Carray (int n, double const x[]) |
| | Print a dynamic C array into the console.
|
| |
| int | main () |
| |
◆ init_Carray()
| void init_Carray |
( |
int |
n, |
|
|
double * |
x |
|
) |
| |
Initializes a dynamic C array.
- Parameters
-
| [in] | n | number of elements |
| [in,out] | x | array |
Definition at line 16 of file main.cpp.
◆ main()
◆ print_Carray()
| void print_Carray |
( |
int |
n, |
|
|
double const |
x[] |
|
) |
| |
Print a dynamic C array into the console.
- Parameters
-
| [in] | n | number of elements |
| [in] | x | array |
Definition at line 29 of file main.cpp.