]>
Dogcows Code - chaz/yoink/blob - src/Moof/cml/vector/vector_ops.h
1 /* -*- C++ -*- ------------------------------------------------------------
3 Copyright (c) 2007 Jesse Anders and Demian Nave http://cmldev.net/
5 The Configurable Math Library (CML) is distributed under the terms of the
6 Boost Software License, v1.0 (see cml/LICENSE for details).
8 *-----------------------------------------------------------------------*/
10 * @brief Defines vector operators.
16 #include <cml/et/scalar_ops.h>
17 #include <cml/vector/vector_expr.h>
18 #include <cml/vector/vecop_macros.h>
22 CML_VEC_UNIOP( operator+, et::OpPos
)
23 CML_VECXPR_UNIOP( operator+, et::OpPos
)
25 CML_VEC_UNIOP( operator-, et::OpNeg
)
26 CML_VECXPR_UNIOP( operator-, et::OpNeg
)
28 CML_VEC_VEC_BINOP( operator+, et::OpAdd
)
29 CML_VECXPR_VEC_BINOP( operator+, et::OpAdd
)
30 CML_VEC_VECXPR_BINOP( operator+, et::OpAdd
)
31 CML_VECXPR_VECXPR_BINOP( operator+, et::OpAdd
)
33 CML_VEC_VEC_BINOP( operator-, et::OpSub
)
34 CML_VECXPR_VEC_BINOP( operator-, et::OpSub
)
35 CML_VEC_VECXPR_BINOP( operator-, et::OpSub
)
36 CML_VECXPR_VECXPR_BINOP( operator-, et::OpSub
)
38 CML_VEC_SCALAR_BINOP( operator*, et::OpMul
)
39 CML_SCALAR_VEC_BINOP( operator*, et::OpMul
)
40 CML_VECXPR_SCALAR_BINOP( operator*, et::OpMul
)
41 CML_SCALAR_VECXPR_BINOP( operator*, et::OpMul
)
43 CML_VEC_SCALAR_BINOP( operator/, et::OpDiv
)
44 CML_VECXPR_SCALAR_BINOP( operator/, et::OpDiv
)
50 // -------------------------------------------------------------------------
This page took 0.039906 seconds and 4 git commands to generate.