Class EvalExprBTAS

Inheritance Relationships

Base Type

Class Documentation

class EvalExprBTAS : public sequant::EvalExpr

This class extends the EvalExpr class by adding an annot() method so that it can be used to evaluate using BTAS.

Public Types

using annot_t = container::svector<long>

Public Functions

template<typename ...Args, typename = std::enable_if_t<std::is_constructible_v<EvalExpr, Args...>>>
inline EvalExprBTAS(Args&&... args)
inline annot_t const &annot() const noexcept
Returns:

Annotation (container::svector<long>) for BTAS::Tensor.

Public Static Functions

template<typename Iterable>
static inline auto index_hash(Iterable &&bk)
Parameters:

bk – iterable of Index objects.

Returns:

vector of long-type hash values of the labels of indices in bk