# 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
bhxx::BhArray<double> b) {
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();

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

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
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
Return
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
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
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)

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

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

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

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

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)

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)

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)

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)

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)

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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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