BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_cross.hpp File Reference

Cross product of two vectors. More...

#include "assert.hpp"
Include dependency graph for fn_cross.hpp:

Go to the source code of this file.

Namespaces

namespace  belfem
 USER GUIDES:

Functions

template<typename T>
auto belfem::cross (const Vector< T > &aA, const Vector< T > &aB) -> decltype(cross(aA.vector_data(), aB.vector_data()))
 Cross product of two length-3 vectors.

Detailed Description

Cross product of two vectors.

The header selects the Armadillo or Blaze implementation at compile time. Overloads templated on ET accept unevaluated backend vector expressions directly, without materialising a temporary Vector.