TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
cross_product.hpp File Reference
#include "../declarations.hpp"
#include "../macros.hpp"
#include "../traits.hpp"

Detailed Description

Provides a cross product for 3-dimensional vectors or other arrays/views of rank 1.

Definition in file cross_product.hpp.

Go to the source code of this file.

Functions

template<typename V >
auto nda::linalg::cross_product (V const &x, V const &y)
 Compute the cross product of two 3-dimensional vectors.