Python CFFI bindings to combine an Array of Int32 with an Array of Double
Project description
combineArrays
This package provides Python CFFI bindings to combine array z of Int32 with an array r of Double and return the result in array y y_j = sum_i z(i*n+j)r(in+j), i=0,..,m, j = 0,..,n
Documentation
See doc/manual.pdf
Installation
To install type:
$ pip install combineArrays
Usage
from combineArrays import combine_arrays_v1
combine_arrays_v1( z, r, y, n, m)
### Parameters combine_arrays_v1
m: num rows, int64
n: num columns, int64
z: array 1, NumPy Array, int32
r: array 2, Numpy Array, float
y: reult, Numpy Array, float
from combineArrays import combine_arrays_v2
combine_arrays_v2( z, r, y, n, m)
### Parameters combine_arrays_v2
m: num rows, int64
n: num columns, int64
z: array 1, NumPy Array, int32
r: array 2, Numpy Array, float
y: reult, Numpy Array, float
from combineArrays import combine_arrays_v3
combine_arrays_v3( z, r, y, n, m)
### Parameters combine_arrays_v3
m: num rows, int64
n: num columns, int64
z: array 1, NumPy Array, int32
r: array 2, Numpy Array, float
y: reult, Numpy Array, float
Test
To unit test type:
$ test/test.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
combineArrays-0.0.5.tar.gz
(4.6 MB
view hashes)
Built Distribution
Close
Hashes for combineArrays-0.0.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae837fcf92766c25fb5836ed64b5d94361c7f8be6b3078225047400858dda1ab |
|
MD5 | 472064d3a38587b9bfc077623020886a |
|
BLAKE2b-256 | 907b70a8285a5544964592ba8bbdd5df493e74d2e5f5ac776464cc4bdf60e66a |