ASL  0.1.7
Advanced Simulation Library
Namespaces | Functions
aclMathAlg.h File Reference
#include "aclVectorOfElementsDef.h"
#include "math/aslVectorsDynamicLength.h"
Include dependency graph for aclMathAlg.h:

Go to the source code of this file.

Namespaces

 acl
 Advanced Computational Language.
 

Functions

void acl::findNearestDirectionCode (const vector< asl::AVec<>> &directions, VectorOfElements v, VectorOfElements iDir, ExpressionContainer &k)
 generates code for finding nearest direction from given directions set directions More...
 
void acl::findNearestDirectionCode (const vector< asl::AVec<>> &directions, VectorOfElements v, VectorOfElements iDir, VectorOfElements scalProduct, ExpressionContainer &k)
 generates code for finding nearest direction from given directions set directions More...
 
VectorOfElements acl::differentSign (VectorOfElements v)
 generate expresion returning true if elements of v have different signs or one of them zerow More...
 
VectorOfElements acl::generateVEOutOfBoundarySafe (const VectorOfElements &a)
 generates Vector of elements wraping the a in order to avoid out of boundary acces More...
 
VectorOfElements acl::generateVEOutOfBoundarySafe (const VectorOfElements &a, const VectorOfElements &outVal)
 generates Vector of elements wraping the a in order to avoid out of boundary acces with given out of boundary value More...