val_array.h
archive_array< T > wrap(const T *, unsigned int)
ValArray(const size_type n, const Value &value)
Definition: val_array.h:129
ValArray()=default
Result reduce(const ValArray< U > &arg, Result &result, const Op &op)
Binary reduce operation.
Definition: val_array.h:291
std::ptrdiff_t difference_type
Definition: size_array.h:55
ValArray(const size_type n, const Arg *const arg)
Definition: val_array.h:135
void outer_fill(const size_type m, const size_type n, const Left *const left, const Right *const right, const Op &op)
Outer fill operation.
Definition: size_array.h:401
ValArray(const size_type n, const Left *MADNESS_RESTRICT const left, const Right *MADNESS_RESTRICT const right, const Op &op)
Definition: val_array.h:155
Definition: tile.h:35
void col_reduce(const ValArray< U > &left, const ValArray< V > &right, const Op &op)
Reduce column operation.
Definition: val_array.h:346
std::enable_if<!(detail::is_scalar_v< Arg > &&detail::is_scalar_v< Result >)>::type uninitialized_unary_vector_op(const std::size_t n, const Arg *const arg, Result *const result, Op &&op)
Definition: vector_op.h:719
bool operator==(const SizeArray< U > &other) const
Definition: size_array.h:189
std::ostream & operator<<(std::ostream &os, const TileReference< Impl > &a)
redirect operator to std::ostream for TileReference objects
Definition: array_impl.h:132
void row_reduce(const ValArray< U > &arg, const Op &op)
Reduce row operation.
Definition: val_array.h:327
Definition: tile.h:33
void outer_fill(const ValArray< U > &left, const ValArray< V > &right, const ValArray< A > &a, const Op &op)
Outer operation.
Definition: val_array.h:424
std::enable_if<!(detail::is_scalar_v< Arg > &&detail::is_scalar_v< Result >)>::type uninitialized_copy_vector(const std::size_t n, const Arg *const arg, Result *const result)
Definition: vector_op.h:674
std::enable_if<!detail::is_scalar_v< Arg > >::type destroy_vector(const std::size_t n, Arg *const arg)
Definition: vector_op.h:706
void outer(const size_type m, const size_type n, const Left *const left, const Right *const right, const Op &op)
Outer operation.
Definition: size_array.h:382
void binary(const ValArray< U > &arg, const Op &op)
Binary vector operation.
Definition: val_array.h:237
ValArray(const ValArray< U > &left, const ValArray< V > &right, const Op &op)
Definition: val_array.h:163
std::enable_if<!(detail::is_scalar_v< Left > &&detail::is_scalar_v< Right > &&detail::is_scalar_v< Result >)>::type uninitialized_binary_vector_op(const std::size_t n, const Left *const left, const Right *const right, Result *const result, Op &&op)
Definition: vector_op.h:739
void col_reduce(const size_type m, const Left *const left, const Right *right, const Op &op)
Column reduce operation.
Definition: size_array.h:350
std::enable_if<!(detail::is_scalar_v< Arg > &&detail::is_scalar_v< Result >)>::type uninitialized_fill_vector(const std::size_t n, const Arg &arg, Result *const result)
Definition: vector_op.h:691
void binary(const ValArray< U > &left, const ValArray< V > &right, const Op &op)
Binary vector operation.
Definition: val_array.h:255
ValArray(const size_type n, const Arg *MADNESS_RESTRICT const arg, const Op &op)
Definition: val_array.h:141
Result reduce(const Arg *const arg, Result result, const ReduceOp &reduce_op, const JoinOp &join_op) const
Binary reduction operation.
Definition: size_array.h:283
Definition: array_impl.cpp:28
void outer(const ValArray< U > &left, const ValArray< V > &right, const Op &op)
Outer operation.
Definition: val_array.h:382
void print_array(std::ostream &out, const A &a, const std::size_t n)
Print the content of an array like object.
Definition: utility.h:48
void row_reduce(const ValArray< U > &left, const ValArray< V > &right, const Op &op)
Reduce row operation.
Definition: val_array.h:310
void unary(const ValArray< U > &arg, const Op &op)
Unary vector operation.
Definition: val_array.h:272
bool operator!=(const SizeArray< U > &other) const
Definition: size_array.h:202
void row_reduce(const size_type n, const Left *const left, const Right *right, const Op &op)
Row reduce operation.
Definition: size_array.h:319
bool operator!=(const ValArray< U > &other) const
Definition: val_array.h:447
void outer_fill(const ValArray< U > &left, const ValArray< V > &right, const Op &op)
Outer fill operation.
Definition: val_array.h:402
ValArray_ & operator=(const ValArray_ &other)
Definition: val_array.h:177
bool operator==(const ValArray< U > &other) const
Definition: val_array.h:442
void set(pointer const first, const size_type n)
Definition: size_array.h:69
ValArray(const ValArray< U > &arg, const Op &op)
Definition: val_array.h:148
void col_reduce(const ValArray< U > &arg, const Op &op)
Reduce column operation.
Definition: val_array.h:363