ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
Namespaces | Functions
aclVectorOfElementsOperations.h File Reference
#include "aclVectorOfElementsDef.h"
Include dependency graph for aclVectorOfElementsOperations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  acl
 Advanced Computational Language.
 

Functions

vector< Element > acl::gcNormalize (const VectorOfElements &a)
 generates code corresponding \( \vec a /= |\vec a|\)

 
vector< Element > acl::gcLength2 (const VectorOfElements &a, const VectorOfElements &l2)
 generates code corresponding \( |\vec a|^2 \). Result will be stored in l2

 
vector< Element > acl::gcLength (const VectorOfElements &a, const VectorOfElements &l)
 generates code corresponding \( |\vec a| \). Result will be stored in l

 
VectorOfElements acl::l2 (const VectorOfElements &a)