pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Namespaces | Functions
where.hpp File Reference
#include <prc/core/functors/loop.hpp>
#include <prc/core/functors/where.hpp>
#include <prc/core/tensor/functions/loop.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class XE , class XA , class XB , If< IsTensorish< RemoveReference< XE > > > = 0, If< IsTensorish< RemoveReference< XA > > > = 0, If< IsTensorish< RemoveReference< XB > > > = 0, If< IsInvocable< Loop< Where >, XE, XA, XB > > = 0>
static constexpr auto pRC::where (XE &&e, XA &&a, XB &&b)
 Uses a mask to choose element-wise which of two Tensors' element to return.