rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
power.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
29REXLIB_API
34 array *out = nullptr
35);
36
49 array *out = nullptr
50);
51
67 array *out = nullptr
68);
69
86 array *out = nullptr
87);
88
104 array *out = nullptr
105);
106
119 array *out = nullptr
120);
121
134 array *out = nullptr
135);
136
152 array *out = nullptr
153);
154
167 array *out = nullptr
168);
169
182 array *out = nullptr
183);
184
197 array *out = nullptr
198);
199
215 array *out = nullptr
216);
217
218} // 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 log2(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise base two logarithm of an array.
array reciprocal(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise reciprocal of an array.
array square(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise square of an array.
array log(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise natural logarithm of an array.
array log1p(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise natural logarithm of one plus an array.
array sqrt(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise square root of an array.
array log10(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise base ten logarithm of an array.
array expm1(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise exponential of an array, minus one.
array exp2(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise base two exponential of an array.
array cbrt(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise cube root of an array.
array power(const_array_ref x, const_array_ref y, const execution_context &context, array *out=nullptr)
Raise the elements of an array to the power of another.
array exp(const_array_ref x, const execution_context &context, array *out=nullptr)
Compute the element-wise exponential of an array.