diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-04-02 11:05:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2019-04-02 11:09:53 +0200 |
commit | 2e03749bb901494f857547cc518ad58eea76a098 (patch) | |
tree | c56c4d4b94f679394c980a9311e981a962415bbe /ndarray.h | |
parent | 140ea5d85e4711f95065b440f64f647f5511f5e9 (diff) |
mg2d: add API for interpolating an initial guess from a provided grid
Diffstat (limited to 'ndarray.h')
-rw-r--r-- | ndarray.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -57,6 +57,10 @@ int mg2di_ndarray_alloc(NDArray **result, unsigned int dims, const size_t * const size, unsigned int flags); void mg2di_ndarray_free(NDArray **a); +int mg2di_ndarray_wrap(NDArray **result, unsigned int dims, + const size_t * const size, double *data, + const ptrdiff_t * const strides); + int mg2di_ndarray_slice(NDArray **result, NDArray *src, const Slice * const slice); |