#include <string>
#include <ostream>
Go to the source code of this file.
|
| | bc |
| | The Evaluator determines if an expression needs to be greedily optimized.
|
| |
|
| template<class... Integers> |
| BCINLINE auto | bc::dim (const Integers &... ints) |
| |
◆ BC_DIM_INPLACE_OP
| #define BC_DIM_INPLACE_OP |
( |
|
op, |
|
|
|
functor |
|
) |
| |
Value:Dim operator op##=(const Dim& other) { \
return this->inplace_op_impl(bc::oper::functor(), other); \
}
◆ BC_DIM_INPLACE_SCALAR_OP
| #define BC_DIM_INPLACE_SCALAR_OP |
( |
|
op, |
|
|
|
functor |
|
) |
| |
Value:friend Dim
operator op##=(Dim &
dim,
const value_type& scalar) { \
return
dim.inplace_scalar_op_impl(bc::oper::functor(), scalar); \
} \
BCINLINE auto dim(const Integers &... ints)
Definition: dim.h:336
◆ BC_DIM_OP
| #define BC_DIM_OP |
( |
|
op, |
|
|
|
functor |
|
) |
| |
Value:Dim operator op(const Dim& other) const { \
return this->op_impl(bc::oper::functor(), other); \
}
◆ BC_DIM_OP_BOTH
| #define BC_DIM_OP_BOTH |
( |
|
op, |
|
|
|
functor |
|
) |
| |
Value:BC_DIM_INPLACE_OP(op, functor) \
BC_DIM_INPLACE_SCALAR_OP(op, functor)
#define BC_DIM_OP_FACTORY(op, functor)
Definition: dim.h:190
◆ BC_DIM_OP_FACTORY
| #define BC_DIM_OP_FACTORY |
( |
|
op, |
|
|
|
functor |
|
) |
| |
Value:BC_DIM_SCALAR_OP(op, functor)
#define BC_DIM_OP(op, functor)
Definition: dim.h:166
◆ BC_DIM_SCALAR_OP
| #define BC_DIM_SCALAR_OP |
( |
|
op, |
|
|
|
functor |
|
) |
| |
Value:friend Dim
operator op(
const Dim &
dim,
const value_type& scalar) { \
return dim.scalar_op_impl(bc::oper::functor(), scalar); \
} \
\
friend Dim operator op(const value_type& scalar, const Dim &dim) { \
return dim.scalar_op_impl(bc::oper::functor(), scalar); \
}
BCINLINE auto dim(const Integers &... ints)
Definition: dim.h:336