Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
elementwise_functions.hpp File Reference

Named backend-neutral function objects for elementwise transforms. More...

#include <uni20/core/compiler_attributes.hpp>
#include <type_traits>
#include <utility>
Include dependency graph for elementwise_functions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uni20::linalg::add
 Return the sum of two element values. More...
 
struct  uni20::linalg::add_scaled< Factor >
 Add one retained scalar multiple to an existing element value. More...
 
struct  uni20::linalg::constant< Value >
 Nullary elementwise function that returns one retained value. More...
 
struct  uni20::linalg::divide
 Return the quotient of two element values. More...
 
struct  uni20::linalg::multiply
 Return the product of two element values. More...
 
struct  uni20::linalg::negate
 Return the additive inverse of one element value. More...
 
struct  uni20::linalg::reciprocal
 Return the multiplicative inverse of one element value. More...
 
struct  uni20::linalg::scale< Factor >
 Multiply one element value by a retained scalar factor. More...
 
struct  uni20::linalg::square
 Return the product of one element value with itself. More...
 
struct  uni20::linalg::subtract
 Return the difference of two element values. More...
 

Namespaces

namespace  uni20
 
namespace  uni20::linalg
 

Functions

template<class Factor >
 uni20::linalg::add_scaled (Factor) -> add_scaled< std::decay_t< Factor > >
 Deduce an add-scaled operation that owns a decayed factor value.
 
template<class Value >
 uni20::linalg::constant (Value) -> constant< std::decay_t< Value > >
 
template<class Factor >
 uni20::linalg::scale (Factor) -> scale< std::decay_t< Factor > >
 Deduce a scaling operation that owns a decayed factor value.
 

Detailed Description

Named backend-neutral function objects for elementwise transforms.