pybind11/example/example-buffers.ref

18 lines
317 B
Plaintext
Raw Normal View History

2015-07-05 18:05:44 +00:00
Value constructor: Creating a 5x5 matrix
0.0
4.0
[[ 0. 0. 0. 0. 0.]
[ 0. 0. 0. 0. 0.]
[ 0. 0. 0. 4. 0.]
[ 0. 0. 0. 0. 0.]
[ 0. 0. 0. 0. 0.]]
4.0
5.0
2015-10-01 14:48:34 +00:00
[[ 1. 2. 3.]
[ 4. 5. 6.]]
Value constructor: Creating a 2x3 matrix
1.0 2.0 3.0
4.0 5.0 6.0
Freeing a 2x3 matrix
2015-07-05 18:05:44 +00:00
Freeing a 5x5 matrix