/home/runner/work/kynema/kynema/kynema/src/math/vector_operations.hpp File Reference

Kynema API: /home/runner/work/kynema/kynema/kynema/src/math/vector_operations.hpp File Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
vector_operations.hpp File Reference
#include <Eigen/Dense>
#include <Kokkos_Core.hpp>

Go to the source code of this file.

Namespaces

namespace  kynema
 
namespace  kynema::math
 

Functions

template<typename VectorType , typename MatrixType >
KOKKOS_INLINE_FUNCTION void kynema::math::VecTilde (const VectorType &vector, const MatrixType &matrix)
 Converts a 3x1 vector to a 3x3 skew-symmetric matrix and returns the result.
 
template<typename AVectorType , typename BVectorType >
KOKKOS_INLINE_FUNCTION double kynema::math::DotProduct (const AVectorType &a, const BVectorType &b)
 Calculate the dot product between two vector views.
 
template<typename VectorType >
KOKKOS_INLINE_FUNCTION void kynema::math::CrossProduct (const VectorType &a, const VectorType &b, const VectorType &c)
 Calculate the cross product between two vector views.