Skip to main content

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

Installation

To install type:

$ pip install combineArrays

Usage

from combineArrays import combine_arrays_v1
from combineArrays import combine_arrays_v2
from combineArrays import combine_arrays_v3

# 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

# 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

# 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

Project details


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.4.tar.gz (2.3 MB view hashes)

Uploaded Source

Built Distribution

combineArrays-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl (18.7 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page