C++ library

The C++ interface of Bohrium is similar to NumPy but is still very basic.

Indexing / Slicing

Bohrium C++ only support single index indexing:

// Create a new empty array (4 by 5)
bhxx::BhArray<double> A = bhxx::empty<double>({4, 5});
// Create view of the third row of A
bhxx::BhArray<double> B = A[2];

If you need more flexible slicing, you can set the shape and stride manually:

// Create a new array (4 by 5) of ones
bhxx::BhArray<double> A = bhxx::ones<double>({4, 5});
// Create view of the complete A.
bhxx::BhArray<double> B = A;
// B is now a 2 by 5 view with a step of two in the first dimension.
// In NumPy, this corresponds to: `B = A[::2, :]`
B.setShapeAndStride({2, 5}, {10, 1});

Code Snippets

You can find some examples in the source tree and some code snippets here:

#include<bhxx/bhxx.hpp>

/** Return a new empty array */
bhxx::BhArray<double> A = bhxx::empty<double>({4, 5});

/** Return the rank (number of dimensions) of the array */
int rank = A.rank();

/** Return the offset of the array */
uint64_t offset = A.offset();

/** Return the shape of the array */
Shape shape = A.shape();

/** Return the stride of the array */
Stride stride = A.stride();

/** Return the total number of elements of the array */
uint64_t size = A.size();

/** Return a pointer to the base of the array */
std::shared_ptr<BhBase> base = A.base();

/** Return whether the view is contiguous and row-major */
bool is_contig = A.isContiguous();

/** Return a new copy of the array */
bhxx::BhArray<double> copy = A.copy();

/** Return a copy of the array as a standard vector */
std::vector<double> vec = A.vec();

/** Print the content of A */
std::cout << A << "\n";

// Return a new transposed view
bhxx::BhArray<double> A_T = A.transpose();

// Return a new reshaped view (the array must be contiguous)
bhxx::BhArray<double> A_reshaped = A.reshape(Shape shape);

/** Return a new view with a "new axis" inserted.
 *
 *  The "new axis" is inserted just before `axis`.
 *  If negative, the count is backwards
 */
bhxx::BhArray<double> A_new_axis = A.newAxis(1);

// Return a new empty array
auto A = bhxx::empty<float>({3,4});

// Return a new empty array that has the same shape as `ary`
auto B = bhxx::empty_like<float>(A);

// Return a new array filled with zeros
auto A = bhxx::zeros<float>({3,4});

// Return evenly spaced values within a given interval.
auto A = bhxx::arange(1, 3, 2); // start, stop, step
auto A = bhxx::arange(1, 3); // start, stop, step=1
auto A = bhxx::arange(3); // start=0, stop, step=1

// Random array, interval [0.0, 1.0)
auto A = bhxx::random.randn<double>({3, 4});

// Element-wise `static_cast`.
bhxx::BhArray<int> B = bhxx::cast<int>(A);

// Alias, A and B points to the same underlying data.
bhxx::empty<float> A = bhxx::empty<float>({3,4});
bhxx::empty<float> B = A;

// a is an alias
void add_inplace(bhxx::BhArray<double> a,
                 bhxx::BhArray<double> b) {
    a += b;
}
add_inplace(A, B);

// Create the data of A into a new array B.
bhxx::empty<float> A = bhxx::empty<float>({3,4});
bhxx::empty<float> B = A.copy();

// Copy the data of B into the existing array A.
A = B;

// Copying and converting the data of A into C.
bhxx::empty<double> C = bhxx::cast<double>(A);

// Alias, A and B points to the same underlying data.
bhxx::empty<float> A = bhxx::empty<float>({3,4});
bhxx::empty<float> B = bhxx::empty<float>({4});
B.reset(A);

// Evaluation triggers:
bhxx::flush();
std::cout << A << "\n";
A.vec();
A.data();

// Operator overloads
A + B - C * E / G;

// Standard functions
bhxx::sin(A) + bhxx::cos(B) + bhxx::sqrt(C) + ...

// Reductions (sum, product, maximum, etc.)
bhxx::add_reduce(A, 0); // Sum of axis 0
bhxx::multiply_reduce(B, 1); // Product of axis 1
bhxx::maximum_reduce(C, 2); // Maximum of axis 2

The API

The following is the complete API as defined in the header file:

template <typename T>
class BhArray
#include <BhArray.hpp>

Representation of a multidimensional array that point to a BhBase array.

Template Parameters
  • T: The data type of the array and the underlying base array

Inherits from bhxx::BhArrayUnTypedCore

Public Types

typedef T scalar_type

The data type of each array element.

Public Functions

BhArray()

Default constructor that leave the instance completely uninitialized.

BhArray(Shape shape, Stride stride)

Create a new array. Shape and Stride must have the same length.

Parameters
  • shape: Shape of the new array
  • stride: Stride of the new array

BhArray(Shape shape)

Create a new array (contiguous stride, row-major)

BhArray(std::shared_ptr<BhBase> base, Shape shape, Stride stride, uint64_t offset = 0)

Create a array that points to the given base

Note
The caller should make sure that the shared pointer uses the RuntimeDeleter as its deleter, since this is implicitly assumed throughout, i.e. if one wants to construct a BhBase object, use the make_base_ptr helper function.

BhArray(std::shared_ptr<BhBase> base, Shape shape)

Create a view that points to the given base (contiguous stride, row-major)

Note
The caller should make sure that the shared pointer uses the RuntimeDeleter as its deleter, since this is implicitly assumed throughout, i.e. if one wants to construct a BhBase object, use the make_base_ptr helper function.

template <typename InType, typename std::enable_if< type_traits::is_safe_numeric_cast< scalar_type, InType >::value, int >::type = 0>
BhArray(const BhArray<InType> &ary)

Create a copy of ary using a Bohrium identity operation, which copies the underlying array data.

Note
This function implements implicit type conversion for all widening type casts

BhArray(const BhArray&)

Copy constructor that only copies meta data. The underlying array data is untouched

BhArray(BhArray&&)

Move constructor that only moves meta data. The underlying array data is untouched

BhArray<T> &operator=(const BhArray<T> &other)

Copy the data of other into the array using a Bohrium identity operation

BhArray<T> &operator=(BhArray<T> &&other)

Copy the data of other into the array using a Bohrium identity operation

Note
A move assignment is the same as a copy assignment.

template <typename InType, typename std::enable_if< type_traits::is_arithmetic< InType >::value, int >::type = 0>
BhArray<T> &operator=(const InType &scalar_value)

Copy the scalar of scalar_value into the array using a Bohrium identity operation

BhArray<T> copy() const

Return a new copy of the array using a Bohrium identity operation

void reset(BhArray<T> ary)

Reset the array to ary

void reset()

Reset the array by cleaning all meta data and leave the array uninitialized.

int rank() const

Return the rank (number of dimensions) of the array

uint64_t size() const

Return the total number of elements of the array

bool isContiguous() const

Return whether the view is contiguous and row-major

bool isDataInitialised() const

Is the data referenced by this view’s base array already allocated, i.e. initialised

const T *data(bool flush = true) const

Obtain the data pointer of the array, not taking ownership of any kind.

Return
The data pointer that might be a nullptr if the data in the base data is not initialised.
Parameters
  • flush: Should we flush the runtime system before retrieving the data pointer

T *data(bool flush = true)

The non-const version of .data()

std::vector<T> vec() const

Return a copy of the array as a standard vector

Note
The array must be contiguous

void pprint(std::ostream &os, int current_nesting_level, int max_nesting_level) const

Pretty printing the content of the array

Parameters
  • os: The output stream to write to.
  • current_nesting_level: The nesting level to print at (typically 0).
  • max_nesting_level: The maximum nesting level to print at (typically rank()-1).

BhArray<T> operator[](int64_t idx) const

Returns a new view of the idx dimension. Negative index counts from the back.

BhArray<T> transpose() const

Return a new transposed view.

BhArray<T> reshape(Shape shape) const

Return a new reshaped view (the array must be contiguous)

BhArray<T> newAxis(int axis) const

Return a new view with a “new axis” inserted.

Return
The new array
Parameters
  • axis: The “new axis” is inserted just before axis. If negative, the count is backwards (e.g -1 insert a “new axis” at the end of the array)

class BhArrayUnTypedCore
#include <BhArray.hpp>

Core class that represent the core attributes of a view that isn’t typed by its dtype

Subclassed by bhxx::BhArray< T >

Public Functions

BhArrayUnTypedCore()

Default constructor that leave the instance completely uninitialized

BhArrayUnTypedCore(uint64_t offset, Shape shape, Stride stride, std::shared_ptr<BhBase> base)

Constructor to initiate all but the _slides attribute

bh_view getBhView() const

Return a bh_view of the array

uint64_t offset() const

Return the offset of the array

const Shape &shape() const

Return the shape of the array

const Stride &stride() const

Return the stride of the array

const std::shared_ptr<BhBase> &base() const

Return the base of the array

std::shared_ptr<BhBase> &base()

Return the base of the array

void setShapeAndStride(Shape shape, Stride stride)

Set the shape and stride of the array (both must have the same length)

const bh_slide &slides() const

Return the slides object of the array

bh_slide &slides()

Return the slides object of the array

Protected Attributes

uint64_t _offset = 0

The array offset (from the start of the base in number of elements)

Shape _shape

The array shape (size of each dimension in number of elements)

Stride _stride

The array stride (the absolute stride of each dimension in number of elements)

std::shared_ptr<BhBase> _base

Pointer to the base of this array.

bh_slide _slides

Metadata to support sliding views.

Friends

void swap(BhArrayUnTypedCore &a, BhArrayUnTypedCore &b)

Swapping a and b

class BhBase
#include <BhBase.hpp>

The base underlying (multiple) arrays

Inherits from bh_base

Public Functions

bool ownMemory()

Is the memory managed referenced by bh_base’s data pointer managed by Bohrium or is it owned externally

Note
If this flag is false, the class will make sure that the memory is not deleted when going out of scope.

template <typename T>
BhBase(size_t nelem, T *memory)

Construct a base array with nelem elements using externally managed storage.

The class will make sure, that the storage is not deleted when going out of scope. Needless to say that the memory should be large enough to incorporate nelem_ elements.

Template Parameters
  • T: The type of each element
Parameters
  • nelem: Number of elements
  • memory: Pointer to the external memory

template <typename InputIterator, typename T = typename std::iterator_traits<InputIterator>::value_type>
BhBase(InputIterator begin, InputIterator end)

Construct a base array and initialise it with the elements provided by an iterator range.

The values are copied into the Bohrium storage. If you want to provide external storage to Bohrium use the constructor BhBase(size_t nelem, T* memory) instead.

template <typename T>
BhBase(T dummy, size_t nelem)

Construct a base array with nelem elements

Note
The use of this particular constructor is discouraged. It is only needed from BhArray to construct base objects which are uninitialised and do not yet hold any deta. If you wish to construct an uninitialised BhBase object, do this via the BhArray interface and not using this constructor.
Parameters
  • dummy: Dummy argument to fix the type of elements used. It may only have ever have the value 0 in the appropriate type.
  • nelem: Number of elements

~BhBase()

Destructor

BhBase(const BhBase&)

Deleted copy constructor

BhBase &operator=(const BhBase&)

Deleted copy assignment

BhBase &operator=(BhBase &&other)

Delete move assignment

BhBase(BhBase &&other)

Move another BhBase object here

Private Members

bool m_own_memory
class Random
#include <random.hpp>

Random class that maintain the state of the random number generation

Public Functions

Random(uint64_t seed = std::random_device{}())

Create a new random instance

Parameters
  • seed: T he seed of the random number generation. If not set, std::random_device is used.

BhArray<uint64_t> random123(uint64_t size)

New 1D random array using the Random123 algorithm https://www.deshawresearch.com/resources_random123.html

Return
The new random array
Parameters
  • size: Size of the new 1D random array

void reset(uint64_t seed = std::random_device{}())

Reset the random instance

Parameters
  • seed: The seed of the random number generation. If not set, std::random_device is used.

template <typename T>
BhArray<T> randn(Shape shape)

Return random floats in the half-open interval [0.0, 1.0) using Random123

Return
Real array
Parameters
  • shape: The shape of the returned array

Private Members

uint64_t _seed
uint64_t _count = 0
namespace bhxx

Typedefs

typedef BhStaticVector<uint64_t> Shape

Static allocated shape that is interchangeable with standard C++ vector as long as the vector is smaller than BH_MAXDIM.

typedef BhStaticVector<int64_t> Stride

Static allocated stride that is interchangeable with standard C++ vector as long as the vector is smaller than BH_MAXDIM.

Functions

template <typename T>
BhArray<T> arange(int64_t start, int64_t stop, int64_t step)

Return evenly spaced values within a given interval.

Return
New 1D array
Template Parameters
  • T: Data type of the returned array
Parameters
  • start: Start of interval. The interval includes this value.
  • stop: End of interval. The interval does not include this value.
  • step: Spacing between values. For any output out, this is the distance between two adjacent values, out[i+1] - out[i].

void flush()

Force the execution of all lazy evaluated array operations

template <typename T>
BhArray<T> empty(Shape shape)

Return a new empty array

Return
The new array
Template Parameters
  • T: The data type of the new array
Parameters
  • shape: The shape of the new array

template <typename OutType, typename InType>
BhArray<OutType> empty_like(const bhxx::BhArray<InType> &ary)

Return a new empty array that has the same shape as ary

Return
The new array
Template Parameters
  • OutType: The data type of the returned new array
  • InType: The data type of the input array
Parameters
  • ary: The array to take the shape from

template <typename T>
BhArray<T> full(Shape shape, T value)

Return a new array filled with value

Return
The new array
Template Parameters
  • T: The data type of the new array
Parameters
  • shape: The shape of the new array
  • value: The value to fill the new array with

template <typename T>
BhArray<T> zeros(Shape shape)

Return a new array filled with zeros

Return
The new array
Template Parameters
  • T: The data type of the new array
Parameters
  • shape: The shape of the new array

template <typename T>
BhArray<T> ones(Shape shape)

Return a new array filled with ones

Return
The new array
Template Parameters
  • T: The data type of the new array
Parameters
  • shape: The shape of the new array

template <typename T>
BhArray<T> arange(int64_t start, int64_t stop)

Return evenly spaced values within a given interval using steps of 1.

Return
New 1D array
Template Parameters
  • T: Data type of the returned array
Parameters
  • start: Start of interval. The interval includes this value.
  • stop: End of interval. The interval does not include this value.

template <typename T>
BhArray<T> arange(int64_t stop)

Return evenly spaced values from 0 to stop using steps of 1.

Return
New 1D array
Template Parameters
  • T: Data type of the returned array
Parameters
  • stop: End of interval. The interval does not include this value.

template <typename OutType, typename InType>
BhArray<OutType> cast(const bhxx::BhArray<InType> &ary)

Element-wise static_cast.

Return
New array
Template Parameters
  • OutType: The data type of the returned array
  • InType: The data type of the input array
Parameters
  • ary: Input array to cast

Stride contiguous_stride(const Shape &shape)

Return a contiguous stride (row-major) based on shape

template <typename T>
std::ostream &operator<<(std::ostream &os, const BhArray<T> &ary)

Pretty printing the data of an array to a stream Example:

auto A = bhxx::arange<double>(3);
std::cout << A << std::endl;

Return
A reference to os
Template Parameters
  • T: The data of ary
Parameters
  • os: The output stream to write to
  • ary: The array to print

template <typename T>
BhArray<T> as_contiguous(BhArray<T> ary)

Create an contiguous view or a copy of an array. The array is only copied if it isn’t already contiguous.

Return
Either a view of ary or a new copy of ary.
Template Parameters
  • T: The data type of ary.
Parameters
  • ary: The array to make contiguous.

template <int N>
Shape broadcasted_shape(std::array<Shape, N> shapes)

Return the result of broadcasting shapes against each other

Return
Broadcasted shape
Parameters
  • shapes: Array of shapes

template <typename T>
BhArray<T> broadcast_to(BhArray<T> ary, const Shape &shape)

Return a new view of ary that is broadcasted to shape We use the term broadcast as defined by NumPy. Let ret be the broadcasted view of ary: 1) One-sized dimensions are prepended to ret.shape() until it has the same number of dimension as ary. 2) The stride of each one-sized dimension in ret is set to zero. 3) The shape of ary is set to shape

Note
See: https://docs.scipy.org/doc/numpy-1.15.0/user/basics.broadcasting.html
Return
The broadcasted array
Parameters
  • ary: Input array
  • shape: The new shape

template <typename T1, typename T2>
bool is_same_array(const BhArray<T1> &a, const BhArray<T2> &b)

Check whether a and b are the same view pointing to the same base

Return
The boolean answer.
Template Parameters
  • T1: The data type of a.
  • T2: The data type of b.
Parameters
  • a: The first array to compare.
  • b: The second array to compare.

template <typename T1, typename T2>
bool may_share_memory(const BhArray<T1> &a, const BhArray<T2> &b)

Check whether a and b can share memory

Note
A return of True does not necessarily mean that the two arrays share any element. It just means that they might.
Return
The boolean answer.
Template Parameters
  • T1: The data type of a.
  • T2: The data type of b.
Parameters
  • a: The first array to compare.
  • b: The second array to compare.

BhArray<bool> add(const BhArray<bool> &in1, const BhArray<bool> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> add(const BhArray<bool> &in1, bool in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> add(bool in1, const BhArray<bool> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> add(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> add(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<double>> add(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<float>> add(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> add(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<float>> add(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> add(const BhArray<float> &in1, const BhArray<float> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> add(const BhArray<float> &in1, float in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> add(float in1, const BhArray<float> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> add(const BhArray<double> &in1, const BhArray<double> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> add(const BhArray<double> &in1, double in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> add(double in1, const BhArray<double> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> add(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> add(const BhArray<int16_t> &in1, int16_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> add(int16_t in1, const BhArray<int16_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> add(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> add(const BhArray<int32_t> &in1, int32_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> add(int32_t in1, const BhArray<int32_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> add(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> add(const BhArray<int64_t> &in1, int64_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> add(int64_t in1, const BhArray<int64_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> add(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> add(const BhArray<int8_t> &in1, int8_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> add(int8_t in1, const BhArray<int8_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> add(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> add(const BhArray<uint16_t> &in1, uint16_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> add(uint16_t in1, const BhArray<uint16_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> add(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> add(const BhArray<uint32_t> &in1, uint32_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> add(uint32_t in1, const BhArray<uint32_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> add(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> add(const BhArray<uint64_t> &in1, uint64_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> add(uint64_t in1, const BhArray<uint64_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> add(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> add(const BhArray<uint8_t> &in1, uint8_t in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> add(uint8_t in1, const BhArray<uint8_t> &in2)

Add arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> subtract(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> subtract(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<double>> subtract(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<float>> subtract(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> subtract(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<float>> subtract(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> subtract(const BhArray<float> &in1, const BhArray<float> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> subtract(const BhArray<float> &in1, float in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> subtract(float in1, const BhArray<float> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> subtract(const BhArray<double> &in1, const BhArray<double> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> subtract(const BhArray<double> &in1, double in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> subtract(double in1, const BhArray<double> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> subtract(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> subtract(const BhArray<int16_t> &in1, int16_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> subtract(int16_t in1, const BhArray<int16_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> subtract(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> subtract(const BhArray<int32_t> &in1, int32_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> subtract(int32_t in1, const BhArray<int32_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> subtract(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> subtract(const BhArray<int64_t> &in1, int64_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> subtract(int64_t in1, const BhArray<int64_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> subtract(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> subtract(const BhArray<int8_t> &in1, int8_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> subtract(int8_t in1, const BhArray<int8_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> subtract(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> subtract(const BhArray<uint16_t> &in1, uint16_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> subtract(uint16_t in1, const BhArray<uint16_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> subtract(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> subtract(const BhArray<uint32_t> &in1, uint32_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> subtract(uint32_t in1, const BhArray<uint32_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> subtract(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> subtract(const BhArray<uint64_t> &in1, uint64_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> subtract(uint64_t in1, const BhArray<uint64_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> subtract(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> subtract(const BhArray<uint8_t> &in1, uint8_t in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> subtract(uint8_t in1, const BhArray<uint8_t> &in2)

Subtract arguments, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> multiply(const BhArray<bool> &in1, const BhArray<bool> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> multiply(const BhArray<bool> &in1, bool in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> multiply(bool in1, const BhArray<bool> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> multiply(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> multiply(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<double>> multiply(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<float>> multiply(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> multiply(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<float>> multiply(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> multiply(const BhArray<float> &in1, const BhArray<float> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> multiply(const BhArray<float> &in1, float in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> multiply(float in1, const BhArray<float> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> multiply(const BhArray<double> &in1, const BhArray<double> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> multiply(const BhArray<double> &in1, double in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> multiply(double in1, const BhArray<double> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> multiply(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> multiply(const BhArray<int16_t> &in1, int16_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> multiply(int16_t in1, const BhArray<int16_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> multiply(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> multiply(const BhArray<int32_t> &in1, int32_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> multiply(int32_t in1, const BhArray<int32_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> multiply(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> multiply(const BhArray<int64_t> &in1, int64_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> multiply(int64_t in1, const BhArray<int64_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> multiply(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> multiply(const BhArray<int8_t> &in1, int8_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> multiply(int8_t in1, const BhArray<int8_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> multiply(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> multiply(const BhArray<uint16_t> &in1, uint16_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> multiply(uint16_t in1, const BhArray<uint16_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> multiply(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> multiply(const BhArray<uint32_t> &in1, uint32_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> multiply(uint32_t in1, const BhArray<uint32_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> multiply(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> multiply(const BhArray<uint64_t> &in1, uint64_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> multiply(uint64_t in1, const BhArray<uint64_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> multiply(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> multiply(const BhArray<uint8_t> &in1, uint8_t in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> multiply(uint8_t in1, const BhArray<uint8_t> &in2)

Multiply arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> divide(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> divide(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<double>> divide(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<float>> divide(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> divide(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<float>> divide(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> divide(const BhArray<float> &in1, const BhArray<float> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> divide(const BhArray<float> &in1, float in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> divide(float in1, const BhArray<float> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> divide(const BhArray<double> &in1, const BhArray<double> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> divide(const BhArray<double> &in1, double in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> divide(double in1, const BhArray<double> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> divide(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> divide(const BhArray<int16_t> &in1, int16_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> divide(int16_t in1, const BhArray<int16_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> divide(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> divide(const BhArray<int32_t> &in1, int32_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> divide(int32_t in1, const BhArray<int32_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> divide(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> divide(const BhArray<int64_t> &in1, int64_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> divide(int64_t in1, const BhArray<int64_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> divide(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> divide(const BhArray<int8_t> &in1, int8_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> divide(int8_t in1, const BhArray<int8_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> divide(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> divide(const BhArray<uint16_t> &in1, uint16_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> divide(uint16_t in1, const BhArray<uint16_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> divide(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> divide(const BhArray<uint32_t> &in1, uint32_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> divide(uint32_t in1, const BhArray<uint32_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> divide(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> divide(const BhArray<uint64_t> &in1, uint64_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> divide(uint64_t in1, const BhArray<uint64_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> divide(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> divide(const BhArray<uint8_t> &in1, uint8_t in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> divide(uint8_t in1, const BhArray<uint8_t> &in2)

Divide arguments element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> power(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> power(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<double>> power(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<float>> power(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> power(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<std::complex<float>> power(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> power(const BhArray<float> &in1, const BhArray<float> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> power(const BhArray<float> &in1, float in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> power(float in1, const BhArray<float> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> power(const BhArray<double> &in1, const BhArray<double> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> power(const BhArray<double> &in1, double in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> power(double in1, const BhArray<double> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> power(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> power(const BhArray<int16_t> &in1, int16_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> power(int16_t in1, const BhArray<int16_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> power(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> power(const BhArray<int32_t> &in1, int32_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> power(int32_t in1, const BhArray<int32_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> power(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> power(const BhArray<int64_t> &in1, int64_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> power(int64_t in1, const BhArray<int64_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> power(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> power(const BhArray<int8_t> &in1, int8_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> power(int8_t in1, const BhArray<int8_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> power(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> power(const BhArray<uint16_t> &in1, uint16_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> power(uint16_t in1, const BhArray<uint16_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> power(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> power(const BhArray<uint32_t> &in1, uint32_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> power(uint32_t in1, const BhArray<uint32_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> power(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> power(const BhArray<uint64_t> &in1, uint64_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> power(uint64_t in1, const BhArray<uint64_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> power(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> power(const BhArray<uint8_t> &in1, uint8_t in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> power(uint8_t in1, const BhArray<uint8_t> &in2)

First array elements raised to powers from second array, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> absolute(const BhArray<bool> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> absolute(const BhArray<float> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> absolute(const BhArray<double> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> absolute(const BhArray<std::complex<float>> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> absolute(const BhArray<std::complex<double>> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int16_t> absolute(const BhArray<int16_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int32_t> absolute(const BhArray<int32_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int64_t> absolute(const BhArray<int64_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int8_t> absolute(const BhArray<int8_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint16_t> absolute(const BhArray<uint16_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint32_t> absolute(const BhArray<uint32_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint64_t> absolute(const BhArray<uint64_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint8_t> absolute(const BhArray<uint8_t> &in1)

Calculate the absolute value element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> greater(const BhArray<bool> &in1, const BhArray<bool> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<bool> &in1, bool in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(bool in1, const BhArray<bool> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<float> &in1, const BhArray<float> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<float> &in1, float in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(float in1, const BhArray<float> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<double> &in1, const BhArray<double> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<double> &in1, double in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(double in1, const BhArray<double> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int16_t> &in1, int16_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(int16_t in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int32_t> &in1, int32_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(int32_t in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int64_t> &in1, int64_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(int64_t in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<int8_t> &in1, int8_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(int8_t in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint16_t> &in1, uint16_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(uint16_t in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint32_t> &in1, uint32_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(uint32_t in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint64_t> &in1, uint64_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(uint64_t in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater(const BhArray<uint8_t> &in1, uint8_t in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater(uint8_t in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 > in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<bool> &in1, const BhArray<bool> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<bool> &in1, bool in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(bool in1, const BhArray<bool> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<float> &in1, const BhArray<float> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<float> &in1, float in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(float in1, const BhArray<float> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<double> &in1, const BhArray<double> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<double> &in1, double in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(double in1, const BhArray<double> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int16_t> &in1, int16_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(int16_t in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int32_t> &in1, int32_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(int32_t in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int64_t> &in1, int64_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(int64_t in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<int8_t> &in1, int8_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(int8_t in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint16_t> &in1, uint16_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(uint16_t in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint32_t> &in1, uint32_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(uint32_t in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint64_t> &in1, uint64_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(uint64_t in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> greater_equal(const BhArray<uint8_t> &in1, uint8_t in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> greater_equal(uint8_t in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 >= in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<bool> &in1, const BhArray<bool> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<bool> &in1, bool in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(bool in1, const BhArray<bool> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<float> &in1, const BhArray<float> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<float> &in1, float in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(float in1, const BhArray<float> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<double> &in1, const BhArray<double> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<double> &in1, double in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(double in1, const BhArray<double> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int16_t> &in1, int16_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(int16_t in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int32_t> &in1, int32_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(int32_t in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int64_t> &in1, int64_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(int64_t in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<int8_t> &in1, int8_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(int8_t in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint16_t> &in1, uint16_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(uint16_t in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint32_t> &in1, uint32_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(uint32_t in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint64_t> &in1, uint64_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(uint64_t in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less(const BhArray<uint8_t> &in1, uint8_t in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less(uint8_t in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 < in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<bool> &in1, const BhArray<bool> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<bool> &in1, bool in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(bool in1, const BhArray<bool> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<float> &in1, const BhArray<float> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<float> &in1, float in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(float in1, const BhArray<float> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<double> &in1, const BhArray<double> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<double> &in1, double in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(double in1, const BhArray<double> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int16_t> &in1, int16_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(int16_t in1, const BhArray<int16_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int32_t> &in1, int32_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(int32_t in1, const BhArray<int32_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int64_t> &in1, int64_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(int64_t in1, const BhArray<int64_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<int8_t> &in1, int8_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(int8_t in1, const BhArray<int8_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint16_t> &in1, uint16_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(uint16_t in1, const BhArray<uint16_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint32_t> &in1, uint32_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(uint32_t in1, const BhArray<uint32_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint64_t> &in1, uint64_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(uint64_t in1, const BhArray<uint64_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> less_equal(const BhArray<uint8_t> &in1, uint8_t in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> less_equal(uint8_t in1, const BhArray<uint8_t> &in2)

Return the truth value of (in1 =< in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<bool> &in1, const BhArray<bool> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<bool> &in1, bool in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(bool in1, const BhArray<bool> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<float> &in1, const BhArray<float> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<float> &in1, float in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(float in1, const BhArray<float> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<double> &in1, const BhArray<double> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<double> &in1, double in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(double in1, const BhArray<double> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int16_t> &in1, int16_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(int16_t in1, const BhArray<int16_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int32_t> &in1, int32_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(int32_t in1, const BhArray<int32_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int64_t> &in1, int64_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(int64_t in1, const BhArray<int64_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<int8_t> &in1, int8_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(int8_t in1, const BhArray<int8_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint16_t> &in1, uint16_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(uint16_t in1, const BhArray<uint16_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint32_t> &in1, uint32_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(uint32_t in1, const BhArray<uint32_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint64_t> &in1, uint64_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(uint64_t in1, const BhArray<uint64_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> equal(const BhArray<uint8_t> &in1, uint8_t in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> equal(uint8_t in1, const BhArray<uint8_t> &in2)

Return (in1 == in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<bool> &in1, const BhArray<bool> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<bool> &in1, bool in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(bool in1, const BhArray<bool> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<std::complex<double>> &in1, const BhArray<std::complex<double>> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<std::complex<double>> &in1, std::complex<double> in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(std::complex<double> in1, const BhArray<std::complex<double>> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<std::complex<float>> &in1, const BhArray<std::complex<float>> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<std::complex<float>> &in1, std::complex<float> in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(std::complex<float> in1, const BhArray<std::complex<float>> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<float> &in1, const BhArray<float> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<float> &in1, float in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(float in1, const BhArray<float> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<double> &in1, const BhArray<double> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<double> &in1, double in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(double in1, const BhArray<double> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int16_t> &in1, int16_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(int16_t in1, const BhArray<int16_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int32_t> &in1, int32_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(int32_t in1, const BhArray<int32_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int64_t> &in1, int64_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(int64_t in1, const BhArray<int64_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<int8_t> &in1, int8_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(int8_t in1, const BhArray<int8_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint16_t> &in1, uint16_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(uint16_t in1, const BhArray<uint16_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint32_t> &in1, uint32_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(uint32_t in1, const BhArray<uint32_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint64_t> &in1, uint64_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(uint64_t in1, const BhArray<uint64_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> not_equal(const BhArray<uint8_t> &in1, uint8_t in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> not_equal(uint8_t in1, const BhArray<uint8_t> &in2)

Return (in1 != in2) element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> logical_and(const BhArray<bool> &in1, const BhArray<bool> &in2)

Compute the truth value of in1 AND in2 elementwise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> logical_and(const BhArray<bool> &in1, bool in2)

Compute the truth value of in1 AND in2 elementwise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> logical_and(bool in1, const BhArray<bool> &in2)

Compute the truth value of in1 AND in2 elementwise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> logical_or(const BhArray<bool> &in1, const BhArray<bool> &in2)

Compute the truth value of in1 OR in2 elementwise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> logical_or(const BhArray<bool> &in1, bool in2)

Compute the truth value of in1 OR in2 elementwise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> logical_or(bool in1, const BhArray<bool> &in2)

Compute the truth value of in1 OR in2 elementwise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> logical_xor(const BhArray<bool> &in1, const BhArray<bool> &in2)

Compute the truth value of in1 XOR in2, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> logical_xor(const BhArray<bool> &in1, bool in2)

Compute the truth value of in1 XOR in2, element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> logical_xor(bool in1, const BhArray<bool> &in2)

Compute the truth value of in1 XOR in2, element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> logical_not(const BhArray<bool> &in1)

Compute the truth value of NOT elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> maximum(const BhArray<bool> &in1, const BhArray<bool> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> maximum(const BhArray<bool> &in1, bool in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> maximum(bool in1, const BhArray<bool> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> maximum(const BhArray<float> &in1, const BhArray<float> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> maximum(const BhArray<float> &in1, float in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> maximum(float in1, const BhArray<float> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> maximum(const BhArray<double> &in1, const BhArray<double> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> maximum(const BhArray<double> &in1, double in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> maximum(double in1, const BhArray<double> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> maximum(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> maximum(const BhArray<int16_t> &in1, int16_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> maximum(int16_t in1, const BhArray<int16_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> maximum(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> maximum(const BhArray<int32_t> &in1, int32_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> maximum(int32_t in1, const BhArray<int32_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> maximum(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> maximum(const BhArray<int64_t> &in1, int64_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> maximum(int64_t in1, const BhArray<int64_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> maximum(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> maximum(const BhArray<int8_t> &in1, int8_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> maximum(int8_t in1, const BhArray<int8_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> maximum(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> maximum(const BhArray<uint16_t> &in1, uint16_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> maximum(uint16_t in1, const BhArray<uint16_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> maximum(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> maximum(const BhArray<uint32_t> &in1, uint32_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> maximum(uint32_t in1, const BhArray<uint32_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> maximum(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> maximum(const BhArray<uint64_t> &in1, uint64_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> maximum(uint64_t in1, const BhArray<uint64_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> maximum(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> maximum(const BhArray<uint8_t> &in1, uint8_t in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> maximum(uint8_t in1, const BhArray<uint8_t> &in2)

Element-wise maximum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> minimum(const BhArray<bool> &in1, const BhArray<bool> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> minimum(const BhArray<bool> &in1, bool in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> minimum(bool in1, const BhArray<bool> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<float> minimum(const BhArray<float> &in1, const BhArray<float> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> minimum(const BhArray<float> &in1, float in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> minimum(float in1, const BhArray<float> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> minimum(const BhArray<double> &in1, const BhArray<double> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> minimum(const BhArray<double> &in1, double in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> minimum(double in1, const BhArray<double> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> minimum(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> minimum(const BhArray<int16_t> &in1, int16_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> minimum(int16_t in1, const BhArray<int16_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> minimum(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> minimum(const BhArray<int32_t> &in1, int32_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> minimum(int32_t in1, const BhArray<int32_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> minimum(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> minimum(const BhArray<int64_t> &in1, int64_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> minimum(int64_t in1, const BhArray<int64_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> minimum(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> minimum(const BhArray<int8_t> &in1, int8_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> minimum(int8_t in1, const BhArray<int8_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> minimum(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> minimum(const BhArray<uint16_t> &in1, uint16_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> minimum(uint16_t in1, const BhArray<uint16_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> minimum(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> minimum(const BhArray<uint32_t> &in1, uint32_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> minimum(uint32_t in1, const BhArray<uint32_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> minimum(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> minimum(const BhArray<uint64_t> &in1, uint64_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> minimum(uint64_t in1, const BhArray<uint64_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> minimum(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> minimum(const BhArray<uint8_t> &in1, uint8_t in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> minimum(uint8_t in1, const BhArray<uint8_t> &in2)

Element-wise minimum of array elements.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> bitwise_and(const BhArray<bool> &in1, const BhArray<bool> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> bitwise_and(const BhArray<bool> &in1, bool in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> bitwise_and(bool in1, const BhArray<bool> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> bitwise_and(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> bitwise_and(const BhArray<int16_t> &in1, int16_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> bitwise_and(int16_t in1, const BhArray<int16_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> bitwise_and(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> bitwise_and(const BhArray<int32_t> &in1, int32_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> bitwise_and(int32_t in1, const BhArray<int32_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> bitwise_and(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> bitwise_and(const BhArray<int64_t> &in1, int64_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> bitwise_and(int64_t in1, const BhArray<int64_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> bitwise_and(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> bitwise_and(const BhArray<int8_t> &in1, int8_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> bitwise_and(int8_t in1, const BhArray<int8_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> bitwise_and(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> bitwise_and(const BhArray<uint16_t> &in1, uint16_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> bitwise_and(uint16_t in1, const BhArray<uint16_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> bitwise_and(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> bitwise_and(const BhArray<uint32_t> &in1, uint32_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> bitwise_and(uint32_t in1, const BhArray<uint32_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> bitwise_and(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> bitwise_and(const BhArray<uint64_t> &in1, uint64_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> bitwise_and(uint64_t in1, const BhArray<uint64_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> bitwise_and(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> bitwise_and(const BhArray<uint8_t> &in1, uint8_t in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> bitwise_and(uint8_t in1, const BhArray<uint8_t> &in2)

Compute the bit-wise AND of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> bitwise_or(const BhArray<bool> &in1, const BhArray<bool> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> bitwise_or(const BhArray<bool> &in1, bool in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> bitwise_or(bool in1, const BhArray<bool> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> bitwise_or(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> bitwise_or(const BhArray<int16_t> &in1, int16_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> bitwise_or(int16_t in1, const BhArray<int16_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> bitwise_or(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> bitwise_or(const BhArray<int32_t> &in1, int32_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> bitwise_or(int32_t in1, const BhArray<int32_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> bitwise_or(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> bitwise_or(const BhArray<int64_t> &in1, int64_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> bitwise_or(int64_t in1, const BhArray<int64_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> bitwise_or(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> bitwise_or(const BhArray<int8_t> &in1, int8_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> bitwise_or(int8_t in1, const BhArray<int8_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> bitwise_or(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> bitwise_or(const BhArray<uint16_t> &in1, uint16_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> bitwise_or(uint16_t in1, const BhArray<uint16_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> bitwise_or(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> bitwise_or(const BhArray<uint32_t> &in1, uint32_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> bitwise_or(uint32_t in1, const BhArray<uint32_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> bitwise_or(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> bitwise_or(const BhArray<uint64_t> &in1, uint64_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> bitwise_or(uint64_t in1, const BhArray<uint64_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> bitwise_or(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> bitwise_or(const BhArray<uint8_t> &in1, uint8_t in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> bitwise_or(uint8_t in1, const BhArray<uint8_t> &in2)

Compute the bit-wise OR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> bitwise_xor(const BhArray<bool> &in1, const BhArray<bool> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> bitwise_xor(const BhArray<bool> &in1, bool in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<bool> bitwise_xor(bool in1, const BhArray<bool> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> bitwise_xor(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> bitwise_xor(const BhArray<int16_t> &in1, int16_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> bitwise_xor(int16_t in1, const BhArray<int16_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> bitwise_xor(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> bitwise_xor(const BhArray<int32_t> &in1, int32_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> bitwise_xor(int32_t in1, const BhArray<int32_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> bitwise_xor(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> bitwise_xor(const BhArray<int64_t> &in1, int64_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> bitwise_xor(int64_t in1, const BhArray<int64_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> bitwise_xor(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> bitwise_xor(const BhArray<int8_t> &in1, int8_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> bitwise_xor(int8_t in1, const BhArray<int8_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> bitwise_xor(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> bitwise_xor(const BhArray<uint16_t> &in1, uint16_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> bitwise_xor(uint16_t in1, const BhArray<uint16_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> bitwise_xor(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> bitwise_xor(const BhArray<uint32_t> &in1, uint32_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> bitwise_xor(uint32_t in1, const BhArray<uint32_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> bitwise_xor(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> bitwise_xor(const BhArray<uint64_t> &in1, uint64_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> bitwise_xor(uint64_t in1, const BhArray<uint64_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> bitwise_xor(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> bitwise_xor(const BhArray<uint8_t> &in1, uint8_t in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> bitwise_xor(uint8_t in1, const BhArray<uint8_t> &in2)

Compute the bit-wise XOR of two arrays element-wise.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> invert(const BhArray<bool> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int16_t> invert(const BhArray<int16_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int32_t> invert(const BhArray<int32_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int64_t> invert(const BhArray<int64_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int8_t> invert(const BhArray<int8_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint16_t> invert(const BhArray<uint16_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint32_t> invert(const BhArray<uint32_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint64_t> invert(const BhArray<uint64_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<uint8_t> invert(const BhArray<uint8_t> &in1)

Compute bit-wise inversion, or bit-wise NOT, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int16_t> left_shift(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> left_shift(const BhArray<int16_t> &in1, int16_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> left_shift(int16_t in1, const BhArray<int16_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> left_shift(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> left_shift(const BhArray<int32_t> &in1, int32_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> left_shift(int32_t in1, const BhArray<int32_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> left_shift(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> left_shift(const BhArray<int64_t> &in1, int64_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> left_shift(int64_t in1, const BhArray<int64_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> left_shift(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> left_shift(const BhArray<int8_t> &in1, int8_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> left_shift(int8_t in1, const BhArray<int8_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> left_shift(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> left_shift(const BhArray<uint16_t> &in1, uint16_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> left_shift(uint16_t in1, const BhArray<uint16_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> left_shift(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> left_shift(const BhArray<uint32_t> &in1, uint32_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> left_shift(uint32_t in1, const BhArray<uint32_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> left_shift(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> left_shift(const BhArray<uint64_t> &in1, uint64_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> left_shift(uint64_t in1, const BhArray<uint64_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> left_shift(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> left_shift(const BhArray<uint8_t> &in1, uint8_t in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> left_shift(uint8_t in1, const BhArray<uint8_t> &in2)

Shift the bits of an integer to the left.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> right_shift(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> right_shift(const BhArray<int16_t> &in1, int16_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> right_shift(int16_t in1, const BhArray<int16_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> right_shift(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> right_shift(const BhArray<int32_t> &in1, int32_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> right_shift(int32_t in1, const BhArray<int32_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> right_shift(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> right_shift(const BhArray<int64_t> &in1, int64_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> right_shift(int64_t in1, const BhArray<int64_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> right_shift(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> right_shift(const BhArray<int8_t> &in1, int8_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> right_shift(int8_t in1, const BhArray<int8_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> right_shift(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> right_shift(const BhArray<uint16_t> &in1, uint16_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> right_shift(uint16_t in1, const BhArray<uint16_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> right_shift(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> right_shift(const BhArray<uint32_t> &in1, uint32_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> right_shift(uint32_t in1, const BhArray<uint32_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> right_shift(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> right_shift(const BhArray<uint64_t> &in1, uint64_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> right_shift(uint64_t in1, const BhArray<uint64_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> right_shift(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> right_shift(const BhArray<uint8_t> &in1, uint8_t in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> right_shift(uint8_t in1, const BhArray<uint8_t> &in2)

Shift the bits of an integer to the right.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> cos(const BhArray<std::complex<double>> &in1)

Cosine elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> cos(const BhArray<std::complex<float>> &in1)

Cosine elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> cos(const BhArray<float> &in1)

Cosine elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> cos(const BhArray<double> &in1)

Cosine elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> sin(const BhArray<std::complex<double>> &in1)

Trigonometric sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> sin(const BhArray<std::complex<float>> &in1)

Trigonometric sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> sin(const BhArray<float> &in1)

Trigonometric sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> sin(const BhArray<double> &in1)

Trigonometric sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> tan(const BhArray<std::complex<double>> &in1)

Compute tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> tan(const BhArray<std::complex<float>> &in1)

Compute tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> tan(const BhArray<float> &in1)

Compute tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> tan(const BhArray<double> &in1)

Compute tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> cosh(const BhArray<std::complex<double>> &in1)

Hyperbolic cosine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> cosh(const BhArray<std::complex<float>> &in1)

Hyperbolic cosine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> cosh(const BhArray<float> &in1)

Hyperbolic cosine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> cosh(const BhArray<double> &in1)

Hyperbolic cosine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> sinh(const BhArray<std::complex<double>> &in1)

Hyperbolic sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> sinh(const BhArray<std::complex<float>> &in1)

Hyperbolic sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> sinh(const BhArray<float> &in1)

Hyperbolic sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> sinh(const BhArray<double> &in1)

Hyperbolic sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> tanh(const BhArray<std::complex<double>> &in1)

Compute hyperbolic tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> tanh(const BhArray<std::complex<float>> &in1)

Compute hyperbolic tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> tanh(const BhArray<float> &in1)

Compute hyperbolic tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> tanh(const BhArray<double> &in1)

Compute hyperbolic tangent element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arcsin(const BhArray<float> &in1)

Inverse sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> arcsin(const BhArray<double> &in1)

Inverse sine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arccos(const BhArray<float> &in1)

Trigonometric inverse cosine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> arccos(const BhArray<double> &in1)

Trigonometric inverse cosine, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arctan(const BhArray<float> &in1)

Trigonometric inverse tangent, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> arctan(const BhArray<double> &in1)

Trigonometric inverse tangent, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arcsinh(const BhArray<float> &in1)

Inverse hyperbolic sine elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> arcsinh(const BhArray<double> &in1)

Inverse hyperbolic sine elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arccosh(const BhArray<float> &in1)

Inverse hyperbolic cosine, elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> arccosh(const BhArray<double> &in1)

Inverse hyperbolic cosine, elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arctanh(const BhArray<float> &in1)

Inverse hyperbolic tangent elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> arctanh(const BhArray<double> &in1)

Inverse hyperbolic tangent elementwise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> arctan2(const BhArray<float> &in1, const BhArray<float> &in2)

Element-wise arc tangent of in1/in2 choosing the quadrant correctly.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> arctan2(const BhArray<float> &in1, float in2)

Element-wise arc tangent of in1/in2 choosing the quadrant correctly.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> arctan2(float in1, const BhArray<float> &in2)

Element-wise arc tangent of in1/in2 choosing the quadrant correctly.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> arctan2(const BhArray<double> &in1, const BhArray<double> &in2)

Element-wise arc tangent of in1/in2 choosing the quadrant correctly.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> arctan2(const BhArray<double> &in1, double in2)

Element-wise arc tangent of in1/in2 choosing the quadrant correctly.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> arctan2(double in1, const BhArray<double> &in2)

Element-wise arc tangent of in1/in2 choosing the quadrant correctly.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<std::complex<double>> exp(const BhArray<std::complex<double>> &in1)

Calculate the exponential of all elements in the input array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> exp(const BhArray<std::complex<float>> &in1)

Calculate the exponential of all elements in the input array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> exp(const BhArray<float> &in1)

Calculate the exponential of all elements in the input array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> exp(const BhArray<double> &in1)

Calculate the exponential of all elements in the input array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> exp2(const BhArray<float> &in1)

Calculate 2**p for all p in the input array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> exp2(const BhArray<double> &in1)

Calculate 2**p for all p in the input array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> expm1(const BhArray<float> &in1)

Calculate exp(in1) - 1 for all elements in the array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> expm1(const BhArray<double> &in1)

Calculate exp(in1) - 1 for all elements in the array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> log(const BhArray<std::complex<double>> &in1)

Natural logarithm, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> log(const BhArray<std::complex<float>> &in1)

Natural logarithm, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> log(const BhArray<float> &in1)

Natural logarithm, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> log(const BhArray<double> &in1)

Natural logarithm, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> log2(const BhArray<float> &in1)

Base-2 logarithm of in1.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> log2(const BhArray<double> &in1)

Base-2 logarithm of in1.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> log10(const BhArray<std::complex<double>> &in1)

Return the base 10 logarithm of the input array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> log10(const BhArray<std::complex<float>> &in1)

Return the base 10 logarithm of the input array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> log10(const BhArray<float> &in1)

Return the base 10 logarithm of the input array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> log10(const BhArray<double> &in1)

Return the base 10 logarithm of the input array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> log1p(const BhArray<float> &in1)

Return the natural logarithm of one plus the input array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> log1p(const BhArray<double> &in1)

Return the natural logarithm of one plus the input array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> sqrt(const BhArray<std::complex<double>> &in1)

Return the positive square-root of an array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> sqrt(const BhArray<std::complex<float>> &in1)

Return the positive square-root of an array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> sqrt(const BhArray<float> &in1)

Return the positive square-root of an array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> sqrt(const BhArray<double> &in1)

Return the positive square-root of an array, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> ceil(const BhArray<float> &in1)

Return the ceiling of the input, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> ceil(const BhArray<double> &in1)

Return the ceiling of the input, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> trunc(const BhArray<float> &in1)

Return the truncated value of the input, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> trunc(const BhArray<double> &in1)

Return the truncated value of the input, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> floor(const BhArray<float> &in1)

Return the floor of the input, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> floor(const BhArray<double> &in1)

Return the floor of the input, element-wise.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> rint(const BhArray<float> &in1)

Round elements of the array to the nearest integer.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> rint(const BhArray<double> &in1)

Round elements of the array to the nearest integer.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> mod(const BhArray<float> &in1, const BhArray<float> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> mod(const BhArray<float> &in1, float in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> mod(float in1, const BhArray<float> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> mod(const BhArray<double> &in1, const BhArray<double> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> mod(const BhArray<double> &in1, double in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> mod(double in1, const BhArray<double> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> mod(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> mod(const BhArray<int16_t> &in1, int16_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> mod(int16_t in1, const BhArray<int16_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> mod(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> mod(const BhArray<int32_t> &in1, int32_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> mod(int32_t in1, const BhArray<int32_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> mod(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> mod(const BhArray<int64_t> &in1, int64_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> mod(int64_t in1, const BhArray<int64_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> mod(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> mod(const BhArray<int8_t> &in1, int8_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> mod(int8_t in1, const BhArray<int8_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> mod(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> mod(const BhArray<uint16_t> &in1, uint16_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> mod(uint16_t in1, const BhArray<uint16_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> mod(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> mod(const BhArray<uint32_t> &in1, uint32_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> mod(uint32_t in1, const BhArray<uint32_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> mod(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> mod(const BhArray<uint64_t> &in1, uint64_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> mod(uint64_t in1, const BhArray<uint64_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> mod(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> mod(const BhArray<uint8_t> &in1, uint8_t in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> mod(uint8_t in1, const BhArray<uint8_t> &in2)

Return the element-wise modulo, which is in1 % in2 in Python and has the same sign as the divisor in2.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> isnan(const BhArray<bool> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<std::complex<float>> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<std::complex<double>> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<int8_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<int16_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<int32_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<int64_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<uint8_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<uint16_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<uint32_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<uint64_t> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<float> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isnan(const BhArray<double> &in1)

Test for NaN values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<bool> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<std::complex<float>> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<std::complex<double>> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<int8_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<int16_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<int32_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<int64_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<uint8_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<uint16_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<uint32_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<uint64_t> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<float> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isinf(const BhArray<double> &in1)

Test for infinity values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> add_reduce(const BhArray<std::complex<double>> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<float>> add_reduce(const BhArray<std::complex<float>> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<float> add_reduce(const BhArray<float> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> add_reduce(const BhArray<double> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> add_reduce(const BhArray<int16_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> add_reduce(const BhArray<int32_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> add_reduce(const BhArray<int64_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> add_reduce(const BhArray<int8_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> add_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> add_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> add_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> add_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Sums all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<double>> multiply_reduce(const BhArray<std::complex<double>> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<float>> multiply_reduce(const BhArray<std::complex<float>> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<float> multiply_reduce(const BhArray<float> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> multiply_reduce(const BhArray<double> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> multiply_reduce(const BhArray<int16_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> multiply_reduce(const BhArray<int32_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> multiply_reduce(const BhArray<int64_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> multiply_reduce(const BhArray<int8_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> multiply_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> multiply_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> multiply_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> multiply_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Multiplies all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> minimum_reduce(const BhArray<bool> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<float> minimum_reduce(const BhArray<float> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> minimum_reduce(const BhArray<double> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> minimum_reduce(const BhArray<int16_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> minimum_reduce(const BhArray<int32_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> minimum_reduce(const BhArray<int64_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> minimum_reduce(const BhArray<int8_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> minimum_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> minimum_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> minimum_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> minimum_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Finds the smallest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> maximum_reduce(const BhArray<bool> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<float> maximum_reduce(const BhArray<float> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> maximum_reduce(const BhArray<double> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> maximum_reduce(const BhArray<int16_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> maximum_reduce(const BhArray<int32_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> maximum_reduce(const BhArray<int64_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> maximum_reduce(const BhArray<int8_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> maximum_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> maximum_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> maximum_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> maximum_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Finds the largest elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> logical_and_reduce(const BhArray<bool> &in1, int64_t in2)

Logical AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> bitwise_and_reduce(const BhArray<bool> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> bitwise_and_reduce(const BhArray<int16_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> bitwise_and_reduce(const BhArray<int32_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> bitwise_and_reduce(const BhArray<int64_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> bitwise_and_reduce(const BhArray<int8_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> bitwise_and_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> bitwise_and_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> bitwise_and_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> bitwise_and_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Bitwise AND of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> logical_or_reduce(const BhArray<bool> &in1, int64_t in2)

Logical OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> bitwise_or_reduce(const BhArray<bool> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> bitwise_or_reduce(const BhArray<int16_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> bitwise_or_reduce(const BhArray<int32_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> bitwise_or_reduce(const BhArray<int64_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> bitwise_or_reduce(const BhArray<int8_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> bitwise_or_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> bitwise_or_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> bitwise_or_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> bitwise_or_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Bitwise OR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> logical_xor_reduce(const BhArray<bool> &in1, int64_t in2)

Logical XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<bool> bitwise_xor_reduce(const BhArray<bool> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> bitwise_xor_reduce(const BhArray<int16_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> bitwise_xor_reduce(const BhArray<int32_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> bitwise_xor_reduce(const BhArray<int64_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> bitwise_xor_reduce(const BhArray<int8_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> bitwise_xor_reduce(const BhArray<uint16_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> bitwise_xor_reduce(const BhArray<uint32_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> bitwise_xor_reduce(const BhArray<uint64_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> bitwise_xor_reduce(const BhArray<uint8_t> &in1, int64_t in2)

Bitwise XOR of all elements in the specified dimension.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> real(const BhArray<std::complex<double>> &in1)

Return the real part of the elements of the array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> real(const BhArray<std::complex<float>> &in1)

Return the real part of the elements of the array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> imag(const BhArray<std::complex<double>> &in1)

Return the imaginary part of the elements of the array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> imag(const BhArray<std::complex<float>> &in1)

Return the imaginary part of the elements of the array.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> add_accumulate(const BhArray<std::complex<double>> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<float>> add_accumulate(const BhArray<std::complex<float>> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<float> add_accumulate(const BhArray<float> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> add_accumulate(const BhArray<double> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> add_accumulate(const BhArray<int16_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> add_accumulate(const BhArray<int32_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> add_accumulate(const BhArray<int64_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> add_accumulate(const BhArray<int8_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> add_accumulate(const BhArray<uint16_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> add_accumulate(const BhArray<uint32_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> add_accumulate(const BhArray<uint64_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> add_accumulate(const BhArray<uint8_t> &in1, int64_t in2)

Computes the prefix sum.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<double>> multiply_accumulate(const BhArray<std::complex<double>> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<float>> multiply_accumulate(const BhArray<std::complex<float>> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<float> multiply_accumulate(const BhArray<float> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<double> multiply_accumulate(const BhArray<double> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int16_t> multiply_accumulate(const BhArray<int16_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int32_t> multiply_accumulate(const BhArray<int32_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int64_t> multiply_accumulate(const BhArray<int64_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<int8_t> multiply_accumulate(const BhArray<int8_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint16_t> multiply_accumulate(const BhArray<uint16_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint32_t> multiply_accumulate(const BhArray<uint32_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint64_t> multiply_accumulate(const BhArray<uint64_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<uint8_t> multiply_accumulate(const BhArray<uint8_t> &in1, int64_t in2)

Computes the prefix product.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: The axis to run over.

BhArray<std::complex<double>> sign(const BhArray<std::complex<double>> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> sign(const BhArray<std::complex<float>> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<float> sign(const BhArray<float> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<double> sign(const BhArray<double> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int16_t> sign(const BhArray<int16_t> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int32_t> sign(const BhArray<int32_t> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int64_t> sign(const BhArray<int64_t> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<int8_t> sign(const BhArray<int8_t> &in1)

Computes the SIGN of elements. -1 = negative, 1=positive. 0 = 0.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> gather(const BhArray<bool> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> gather(const BhArray<std::complex<double>> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> gather(const BhArray<std::complex<float>> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> gather(const BhArray<float> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> gather(const BhArray<double> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> gather(const BhArray<int16_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> gather(const BhArray<int32_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> gather(const BhArray<int64_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> gather(const BhArray<int8_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> gather(const BhArray<uint16_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> gather(const BhArray<uint32_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> gather(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> gather(const BhArray<uint8_t> &in1, const BhArray<uint64_t> &in2)

Gather elements from IN selected by INDEX into OUT. NB: OUT.shape == INDEX.shape and IN can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<bool> scatter(const BhArray<bool> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<double>> scatter(const BhArray<std::complex<double>> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<std::complex<float>> scatter(const BhArray<std::complex<float>> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> scatter(const BhArray<float> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> scatter(const BhArray<double> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> scatter(const BhArray<int16_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> scatter(const BhArray<int32_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> scatter(const BhArray<int64_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> scatter(const BhArray<int8_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> scatter(const BhArray<uint16_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> scatter(const BhArray<uint32_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> scatter(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> scatter(const BhArray<uint8_t> &in1, const BhArray<uint64_t> &in2)

Scatter all elements of IN into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> remainder(const BhArray<float> &in1, const BhArray<float> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<float> remainder(const BhArray<float> &in1, float in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<float> remainder(float in1, const BhArray<float> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<double> remainder(const BhArray<double> &in1, const BhArray<double> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<double> remainder(const BhArray<double> &in1, double in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<double> remainder(double in1, const BhArray<double> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int16_t> remainder(const BhArray<int16_t> &in1, const BhArray<int16_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int16_t> remainder(const BhArray<int16_t> &in1, int16_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int16_t> remainder(int16_t in1, const BhArray<int16_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int32_t> remainder(const BhArray<int32_t> &in1, const BhArray<int32_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int32_t> remainder(const BhArray<int32_t> &in1, int32_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int32_t> remainder(int32_t in1, const BhArray<int32_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int64_t> remainder(const BhArray<int64_t> &in1, const BhArray<int64_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int64_t> remainder(const BhArray<int64_t> &in1, int64_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int64_t> remainder(int64_t in1, const BhArray<int64_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<int8_t> remainder(const BhArray<int8_t> &in1, const BhArray<int8_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<int8_t> remainder(const BhArray<int8_t> &in1, int8_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<int8_t> remainder(int8_t in1, const BhArray<int8_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint16_t> remainder(const BhArray<uint16_t> &in1, const BhArray<uint16_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint16_t> remainder(const BhArray<uint16_t> &in1, uint16_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint16_t> remainder(uint16_t in1, const BhArray<uint16_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint32_t> remainder(const BhArray<uint32_t> &in1, const BhArray<uint32_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint32_t> remainder(const BhArray<uint32_t> &in1, uint32_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint32_t> remainder(uint32_t in1, const BhArray<uint32_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint64_t> remainder(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint64_t> remainder(const BhArray<uint64_t> &in1, uint64_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint64_t> remainder(uint64_t in1, const BhArray<uint64_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<uint8_t> remainder(const BhArray<uint8_t> &in1, const BhArray<uint8_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.

BhArray<uint8_t> remainder(const BhArray<uint8_t> &in1, uint8_t in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Scalar input.

BhArray<uint8_t> remainder(uint8_t in1, const BhArray<uint8_t> &in2)

Return the element-wise remainder of division, which is in1 % in2 in C99 and has the same sign as the divided in1.

Return
Output array.
Parameters
  • in1: Scalar input.
  • in2: Array input.

BhArray<bool> cond_scatter(const BhArray<bool> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<std::complex<double>> cond_scatter(const BhArray<std::complex<double>> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<std::complex<float>> cond_scatter(const BhArray<std::complex<float>> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<float> cond_scatter(const BhArray<float> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<double> cond_scatter(const BhArray<double> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<int16_t> cond_scatter(const BhArray<int16_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<int32_t> cond_scatter(const BhArray<int32_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<int64_t> cond_scatter(const BhArray<int64_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<int8_t> cond_scatter(const BhArray<int8_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<uint16_t> cond_scatter(const BhArray<uint16_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<uint32_t> cond_scatter(const BhArray<uint32_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<uint64_t> cond_scatter(const BhArray<uint64_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<uint8_t> cond_scatter(const BhArray<uint8_t> &in1, const BhArray<uint64_t> &in2, const BhArray<bool> &in3)

Conditional scatter elements of IN where COND is true into OUT selected by INDEX. NB: IN.shape == INDEX.shape and OUT can have any shape but must be contiguous.

Return
Output array.
Parameters
  • in1: Array input.
  • in2: Array input.
  • in3: Array input.

BhArray<bool> isfinite(const BhArray<bool> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<std::complex<float>> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<std::complex<double>> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<int8_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<int16_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<int32_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<int64_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<uint8_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<uint16_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<uint32_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<uint64_t> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<float> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<bool> isfinite(const BhArray<double> &in1)

Test for finite values.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<float>> conj(const BhArray<std::complex<float>> &in1)

Complex conjugates.

Return
Output array.
Parameters
  • in1: Array input.

BhArray<std::complex<double>> conj(const BhArray<std::complex<double>> &in1)

Complex conjugates.

Return
Output array.
Parameters
  • in1: Array input.

void random123(BhArray<uint64_t> &out, uint64_t seed, uint64_t key)

Variables

Random random

Exposing the default instance of the random number generation

namespace [anonymous]
namespace std
file array_create.hpp
#include <cstdint>#include <bhxx/BhArray.hpp>#include <bhxx/array_operations.hpp>
file BhArray.hpp
#include <type_traits>#include <ostream>#include <bohrium/bh_static_vector.hpp>#include <bhxx/BhBase.hpp>#include <bhxx/type_traits_util.hpp>#include <bhxx/array_operations.hpp>
file BhBase.hpp
#include <cassert>#include <bohrium/bh_view.hpp>#include <bohrium/bh_main_memory.hpp>#include <memory>
file BhInstruction.hpp
#include “BhArray.hpp”#include <bohrium/bh_instruction.hpp>
file bhxx.hpp
#include <bhxx/BhArray.hpp>#include <bhxx/Runtime.hpp>#include <bhxx/array_operations.hpp>#include <bhxx/util.hpp>#include <bhxx/random.hpp>#include <bhxx/array_create.hpp>
file random.hpp
#include <cstdint>#include <random>#include <bhxx/BhArray.hpp>#include <bhxx/Runtime.hpp>
file Runtime.hpp
#include <iostream>#include <sstream>#include “BhInstruction.hpp”#include <bohrium/bh_component.hpp>
file util.hpp
#include <sstream>#include <algorithm>#include <bhxx/BhArray.hpp>
file array_create.cpp
#include <bhxx/Runtime.hpp>#include <bhxx/array_operations.hpp>#include <bhxx/util.hpp>#include <bhxx/array_create.hpp>#include <bhxx/random.hpp>
file BhArray.cpp
#include <bhxx/BhArray.hpp>#include <bhxx/Runtime.hpp>#include <bhxx/array_operations.hpp>#include <bhxx/util.hpp>#include <bhxx/array_create.hpp>
file BhInstruction.cpp
#include <bhxx/BhInstruction.hpp>
file random.cpp
#include <bhxx/random.hpp>#include <bhxx/type_traits_util.hpp>
file Runtime.cpp
#include <bhxx/Runtime.hpp>#include <iterator>
file util.cpp
#include <bhxx/util.hpp>#include <bhxx/Runtime.hpp>
file array_operations.hpp
#include <cstdint>#include <complex>
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/bridge/cxx/include/bhxx
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/doc/build/bhxx_gen_headers
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/bridge
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/doc/build
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/bridge/cxx
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/bridge/cxx/include
dir /home/docs/checkouts/readthedocs.org/user_builds/bohrium/checkouts/latest/bridge/cxx/src