mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
18 lines
317 B
Plaintext
18 lines
317 B
Plaintext
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
|
|
[[ 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
|
|
Freeing a 5x5 matrix
|