|
pRC
multi-purpose Tensor Train library for C++
|
Go to the source code of this file.
Namespaces | |
| namespace | pRC |
Functions | |
| template<class F , Bool E = false, Direction D = Direction::Forwards, If< IsSatisfied<(D==Direction::Forwards||D==Direction::Backwards)> > = 0, class XA , If< IsInvocable< F, XA, XA > > = 0> | |
| static constexpr Conditional< IsSatisfied< E >, decltype(eval(declval< XA >())), XA > | pRC::fold (XA &&a) |
| Repeatedly applies an operation to generate one pRC object out of many. | |
| template<class F , Bool E = false, Direction D = Direction::Forwards, If< IsSatisfied<(D==Direction::Forwards||D==Direction::Backwards)> > = 0, class XA , class XB , If< IsInvocable< F, XA, XB > > = 0> | |
| static constexpr auto | pRC::fold (XA &&a, XB &&b) |
| Repeatedly applies an operation to generate one pRC object out of many. | |
| template<class F , Bool E = false, Direction D = Direction::Forwards, class XA , class XB , class... Xs, If< IsSatisfied<(sizeof...(Xs) > 0)> , If< IsSatisfied<(D==Direction::Forwards||D==Direction::Backwards)> > = 0, If< IsInvocable< F, XA, XB > > = 0, If< IsInvocable< Fold< F, E, D >, ResultOf< Fold< F, E, D >, XA, XB > const &, Xs... > > = 0> | |
| static constexpr auto | pRC::fold (XA &&a, XB &&b, Xs &&...args) |
| Repeatedly applies an operation to generate one pRC object out of many. | |