
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| An example to show how to create ndarrays using arbitrary Python sequences. | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
An example to show how to create ndarrays using arbitrary Python sequences.
The Python sequence could be any object whose __array__ method returns an array, or any (nested) sequence. This example also shows how to create arrays using both unit and non-unit strides.
Definition at line 24 of file example/ndarray.cpp.