rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
numeric.hpp
1// SPDX-License-Identifier: GPL-3.0-only
2
3#pragma once
4
5#include <rexlib/core/ndarray/array.hpp>
6#include <rexlib/core/ndarray/const_array_ref.hpp>
7
8namespace rexlib
9{
10
11class execution_context;
12
24REXLIB_API
28 array *out = nullptr
29);
30
46 array *out = nullptr
47);
48
64 array *out = nullptr
65);
66
83 array *out = nullptr
84);
85
100 array *out = nullptr
101);
102
103} // namespace rexlib
Container for multidimensional numeric data.
Definition array.hpp:31
Non-owning read-only reference to an array.
Definition const_array_ref.hpp:36
Pairs the hardware resources and the dispatch strategy used to run operations.
Definition execution_context.hpp:43
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
array copysign(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Compose an array from the magnitude of one and the sign of another.
array is_nan(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether an array holds values that are not numbers.
array is_inf(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether an array holds infinite values.
array sign_bit(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether the sign bit of an array is set.
array is_finite(const_array_ref x, const execution_context &context, array *out=nullptr)
Test element-wise whether an array holds finite values.