afarray-0.3.2 has been yanked.
Visit the last successful build:
afarray-0.15.1
afarray
Convenience methods for working with ArrayFire arrays in Rust, compatible with number-general.
Usage example:
use FromIterator;
use Array;
use Number;
let a = ;
let b = ;
let product = & from * & from;
assert_eq!;
assert_eq!
Note that you must have ArrayFire installed in order to build this crate. The installation instructions are at http://arrayfire.org/docs/installing.htm.
In particular, you will need to make the ArrayFire package discoverable to pkg-config by adding
a pkg-config on your system's $PKG_CONFIG_PATH, like this arrayfire.pc
config file:
prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib64
Name: arrayfire
Description: the ArrayFire library
Version: 3.8
Libs: -L${libdir}