Incomplete sheet
This sheet is incomplete and could use some attention. Please submit code snippet suggestions as an issue or PR here.
ND-arrays¶
ND-array operations
Create¶
| Action | Code | Details |
|---|---|---|
| Ensure at least 1D array (vector) |
|
|
| Ensure at least 2D array (matrix) |
|
|
| Ensure at least 3D array |
|
|
| Create 2D array from a list of vectors as columns |
|
Extract¶
| Action | Code | Details |
|---|---|---|
| Number of elements |
|
|
| Number of dimensions |
|
|
| Dimension sizes |
|
|
| Size of the first dimension |
|
|
| Hash |
|
Derive¶
Shrink¶
| Action | Code | Details |
|---|---|---|
| Drop singular dimensions |
|
|
| Drop singular dimensions |
|
Reshape¶
| Action | Code | Details |
|---|---|---|
| Reshape to dimensions d |
|
Convert¶
| Action | Code | Details |
|---|---|---|
| Bytes |
|
Not sure what difference with data.tobytes() is |
| Hash |
|