Create README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-30 19:14:46 +01:00 committed by GitHub
parent a900626fb5
commit f6badaf29b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,31 @@
# Ravel and UnRavel
{:.no_toc}
<nav markdown="1" class="toc-class">
* TOC
{:toc}
</nav>
## Top
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
## [numpy.ravel_multi_index](https://numpy.org/doc/stable/reference/generated/numpy.ravel_multi_index.html)
```python
numpy.ravel_multi_index(multi_index, dims, mode='raise', order='C')
```
> Converts a tuple of index arrays into an array of flat indices, applying boundary modes to the multi-index.
## [numpy.unravel_index](https://numpy.org/doc/stable/reference/generated/numpy.unravel_index.html)
```python
numpy.unravel_index(indices, shape, order='C')
```
> Converts a flat index or array of flat indices into a tuple of coordinate arrays.