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

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class C , class X , If< IsTensorish< RemoveReference< X > > > = 0, If< IsInvocable< Loop< Cast< C > >, X > > = 0>
static constexpr auto pRC::cast (X &&a)
 Casts the elements of a Tensor to a different value class.