expr.h
Expr(const Expr_ &)=default
void add(const L &left, const R &right, madness::CallbackInterface *callback=nullptr)
Add a pair of arguments to the reduction task.
Definition: reduce_task.h:966
std::enable_if_t< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MaxReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > max() const
Definition: expr.h:809
Definition: tsr_expr.h:43
Future< typename TiledArray::AbsMinReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_min(World &world) const
Definition: expr.h:815
typename TiledArray::detail::numeric_type< T >::type numeric_t
numeric_t<T> is an alias for numeric_type<T>::type
Definition: type_traits.h:730
Expr()=default
Future< typename TiledArray::AbsMaxReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_max() const
Definition: expr.h:835
Future< result_of_trace_t< TileType > > trace() const
Definition: expr.h:703
std::enable_if_t< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MinReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > min(World &world) const
Definition: expr.h:774
detail::ShiftWrapper< T > shift(T &tensor)
Shift a tensor from one range to another.
Definition: shift_wrapper.h:136
std::enable_if_t< trace_is_defined_v< T >, U > enable_if_trace_is_defined_t
SFINAE type for enabling code when the trace operation is defined.
Definition: trace.h:61
Future< typename TiledArray::ProductReduction< typename EngineTrait< engine_type >::eval_type >::result_type > product() const
Definition: expr.h:729
Future< typename Op::result_type > reduce(const Expr< D > &right_expr, const Op &op, World &world) const
Definition: expr.h:605
Expr< Derived > & set_world(World &world)
Definition: expr.h:131
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > norm() const
Definition: expr.h:763
Future< typename TiledArray::DotReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > dot(const Expr< D > &right_expr) const
Definition: expr.h:856
std::enable_if_t< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MaxReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > max(World &world) const
Definition: expr.h:797
Range that references a subblock of another range.
Definition: block_range.h:34
type trait checks if T has array() member Useful to determine if an Expr is a TsrExpr or a related ty...
Definition: expr.h:80
Expr(Expr_ &&)=default
Unary reduction wrapper class that handles lazy tile evaluation.
Definition: reduce_wrapper.h:41
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > norm(World &world) const
Definition: expr.h:755
void eval_to(BlkTsrExpr< A, Alias > &tsr) const
Evaluate this object and assign it to tsr.
Definition: expr.h:440
Future< typename TiledArray::ProductReduction< typename EngineTrait< engine_type >::eval_type >::result_type > product(World &world) const
Definition: expr.h:722
typename ExprTrait< Derived_ >::engine_type engine_t
Definition: expr.h:100
Future< result_type > submit()
Submit the reduction task to the task queue.
Definition: reduce_task.h:803
Future< typename Op::result_type > reduce(const Expr< D > &right_expr, const Op &op) const
Definition: expr.h:687
bool includes(const Index &index) const
Check the coordinate to make sure it is within the range.
Definition: range.h:826
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > squared_norm(World &world) const
Definition: expr.h:735
ordinal_type ordinal(const Index &index) const
calculate the ordinal index of i
Definition: block_range.h:312
Expr_ & operator=(Expr_ &&)=delete
int add(const Arg &arg, madness::CallbackInterface *callback=nullptr)
Add an argument to the reduction task.
Definition: reduce_task.h:786
std::enable_if_t< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MinReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > min() const
Definition: expr.h:786
Expr< Derived > & set_pmap(const std::shared_ptr< typename override_type::pmap_interface > pmap)
Definition: expr.h:141
Future< typename TiledArray::SumReduction< typename EngineTrait< engine_type >::eval_type >::result_type > sum() const
Definition: expr.h:716
Future< typename TiledArray::AbsMaxReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_max(World &world) const
Definition: expr.h:828
Definition: array_impl.cpp:28
Block expression.
Definition: blk_tsr_expr.h:442
EngineParamOverride()
Definition: expr.h:63
Expr_ & operator=(const Expr_ &)=delete
Binary reduction wrapper class that handles lazy tile evaluation.
Definition: reduce_wrapper.h:121
Definition: type_traits.h:71
Future< result_of_trace_t< TileType > > trace(World &world) const
Definition: expr.h:695
Future< typename TiledArray::InnerProductReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > inner_product(const Expr< D > &right_expr) const
Definition: expr.h:878
Expr< Derived > & set_shape(typename override_type::shape_type const &shape)
Definition: expr.h:121
Vector inner product tile reduction.
Definition: binary_reduction.h:77
EngineTrait< Engine >::pmap_interface pmap_interface
Process map interface type.
Definition: expr.h:70
Future< typename Op::result_type > reduce(const Op &op) const
Definition: expr.h:600
Future< typename TiledArray::AbsMinReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_min() const
Definition: expr.h:822
Future< typename Op::result_type > reduce(const Op &op, World &world) const
Definition: expr.h:562
Future< typename TiledArray::DotReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > dot(const Expr< D > &right_expr, World &world) const
Definition: expr.h:843
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > squared_norm() const
Definition: expr.h:742
~Expr()=default
typename engine_t< Derived_ >::eval_type eval_type_t
Definition: expr.h:102
std::shared_ptr< pmap_interface > pmap
Definition: expr.h:73
Definition: expr.h:53
void print(ExprOStream &os, const BipartiteIndexList &target_indices) const
Expression print.
Definition: expr.h:533
Future< typename TiledArray::InnerProductReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > inner_product(const Expr< D > &right_expr, World &world) const
Definition: expr.h:864
void eval_to(TsrExpr< A, Alias > &tsr) const
Evaluate this object and assign it to tsr.
Definition: expr.h:381
Future< typename TiledArray::SumReduction< typename EngineTrait< engine_type >::eval_type >::result_type > sum(World &world) const
Definition: expr.h:709