Recursive execution. Terminating at <N>, starting at index <I> More...
Static Public Member Functions | |
| template<class Input , class Output > | |
| static void | copy_n (Input input, Output result) |
| Somewhat equivalent to std::copy_n() but with templated loops. More... | |
| template<class Output , class T > | |
| static void | fill_n (Output result, const T &val) |
| Somewhat equivalent to std::fill_n() but with templated loops. More... | |
| template<class V , class S , class EqOp > | |
| static void | eqOpS (V &vs, const S &s, EqOp eo) |
| Apply the binary assignment operation to each vector-space component. More... | |
| template<class S , class V , class EqOp > | |
| static void | SeqOp (S &s, const V &vs, EqOp eo) |
| Apply the inplace binary reduction operation. More... | |
| template<class V1 , class V2 , class EqOp > | |
| static void | eqOp (V1 &vs1, const V2 &vs2, EqOp eo) |
| Apply the inplace binary assignment operation to the components. More... | |
| template<class V , class V1 , class S , class BinaryOp > | |
| static void | opVS (V &vs, const V1 &vs1, const S &s, BinaryOp bop) |
| Apply the binary operation between vector-space and scalar data and assign the result. More... | |
| template<class V , class S , class V1 , class BinaryOp > | |
| static void | opSV (V &vs, const S &s, const V1 &vs1, BinaryOp bop) |
| Apply the binary operation between scalar and vector-space data and assign the result. More... | |
| template<class V , class V1 , class BinaryOp > | |
| static void | op (V &vs, const V1 &vs1, const V1 &vs2, BinaryOp bop) |
| Apply the binary operation between two vector-space data and assign the result. More... | |
Recursive execution. Terminating at <N>, starting at index <I>
Operator functions for VectorSpace.
Definition at line 42 of file VectorSpaceOps.H.
|
inlinestatic |
Somewhat equivalent to std::copy_n() but with templated loops.
| [in] | input | indexable input data |
| [out] | result | indexable output data |
Definition at line 51 of file VectorSpaceOps.H.
References Foam::I, and Foam::input().
Referenced by Foam::sumReduce().


|
inlinestatic |
Somewhat equivalent to std::fill_n() but with templated loops.
| [out] | result | indexable output data |
| val | the value to assign for each entry |
Definition at line 67 of file VectorSpaceOps.H.
References Foam::I.
|
inlinestatic |
Apply the binary assignment operation to each vector-space component.
| [in,out] | vs | vector-space (indexed) data |
| s | scalar/component data (non-indexed) | |
| eo | binary combine/assign operation |
Definition at line 85 of file VectorSpaceOps.H.
|
inlinestatic |
Apply the inplace binary reduction operation.
| [in,out] | s | scalar or component data (non-indexed) |
| [in] | vs | input vector-space (indexed) data |
| eo | binary combine/assign operation |
Definition at line 102 of file VectorSpaceOps.H.
Referenced by Foam::cmptMax(), Foam::cmptMin(), Foam::cmptProduct(), Foam::cmptSum(), and Foam::magSqr().

Apply the inplace binary assignment operation to the components.
| [in,out] | vs1 | vector-space (indexed) data |
| [in] | vs2 | second vector-space (indexed) data |
| eo | binary combine/assign operation |
Definition at line 119 of file VectorSpaceOps.H.
References Foam::I.
Referenced by Foam::cmptMag(), Foam::cmptMagSqr(), Foam::cmptSqr(), and Foam::operator-().

|
inlinestatic |
Apply the binary operation between vector-space and scalar data and assign the result.
| [out] | vs | vector-space (indexed) data |
| [in] | vs1 | vector-space (indexed) data operand |
| [in] | s | scalar operand |
| bop | binary operation |
Definition at line 138 of file VectorSpaceOps.H.
Referenced by Foam::operator*(), Foam::operator/(), and Foam::stabilise().

|
inlinestatic |
Apply the binary operation between scalar and vector-space data and assign the result.
| [out] | vs | vector-space (indexed) data |
| [in] | s | scalar operand |
| [in] | vs1 | vector-space (indexed) data operand |
| bop | binary operation |
Definition at line 157 of file VectorSpaceOps.H.
Referenced by Foam::operator*().

|
inlinestatic |
Apply the binary operation between two vector-space data and assign the result.
| [out] | vs | vector-space (indexed) data |
| [in] | vs1 | vector-space (indexed) data operand |
| [in] | vs2 | vector-space (indexed) data operand |
| bop | binary operation |
Definition at line 176 of file VectorSpaceOps.H.
References Foam::I.
Referenced by Foam::cmptDivide(), Foam::cmptMultiply(), Foam::cmptPow(), Foam::max(), Foam::min(), Foam::minMod(), Foam::operator+(), and Foam::operator-().
