Eigen::internal::cross3_impl< Arch, VectorLhs, VectorRhs, Scalar, Vectorizable > Struct Template Reference

#include <OrthoMethods.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC internal::plain_matrix_type< VectorLhs >::type run (const VectorLhs &lhs, const VectorRhs &rhs)
 

Member Function Documentation

◆ run()

template<int Arch, typename VectorLhs , typename VectorRhs , typename Scalar = typename VectorLhs::Scalar, bool Vectorizable = bool((evaluator<VectorLhs>::Flags & evaluator<VectorRhs>::Flags) & PacketAccessBit)>
static EIGEN_DEVICE_FUNC internal::plain_matrix_type<VectorLhs>::type Eigen::internal::cross3_impl< Arch, VectorLhs, VectorRhs, Scalar, Vectorizable >::run ( const VectorLhs &  lhs,
const VectorRhs &  rhs 
)
inlinestatic
106  {
108  numext::conj(lhs.coeff(1) * rhs.coeff(2) - lhs.coeff(2) * rhs.coeff(1)),
109  numext::conj(lhs.coeff(2) * rhs.coeff(0) - lhs.coeff(0) * rhs.coeff(2)),
110  numext::conj(lhs.coeff(0) * rhs.coeff(1) - lhs.coeff(1) * rhs.coeff(0)), 0);
111  }
AnnoyingScalar conj(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:133
type
Definition: compute_granudrum_aor.py:141

References conj(), and compute_granudrum_aor::type.


The documentation for this struct was generated from the following file: