Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uni20::linalg::square Struct Reference

Return the product of one element value with itself. More...

#include <elementwise_functions.hpp>

Public Member Functions

template<class Value >
UNI20_HOST_DEVICE constexpr auto operator() (Value value) const noexcept(noexcept(value *value)) -> decltype(value *value)
 

Detailed Description

Return the product of one element value with itself.

Member Function Documentation

◆ operator()()

template<class Value >
UNI20_HOST_DEVICE constexpr auto uni20::linalg::square::operator() ( Value  value) const -> decltype(value * value)
inlineconstexprnoexcept

The documentation for this struct was generated from the following file: