Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Eigen::internal::cross3_impl< Arch, VectorLhs, VectorRhs, Scalar, Vectorizable > Struct Template Reference

#include <src/eigen/Eigen/src/Geometry/OrthoMethods.h>

Static Public Member Functions

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

Detailed Description

template<int Arch, typename VectorLhs, typename VectorRhs, typename Scalar = typename VectorLhs::Scalar, bool Vectorizable = bool((VectorLhs::Flags&VectorRhs::Flags)&PacketAccessBit)>
struct Eigen::internal::cross3_impl< Arch, VectorLhs, VectorRhs, Scalar, Vectorizable >

Member Function Documentation

◆ run()

template<int Arch, typename VectorLhs , typename VectorRhs , typename Scalar = typename VectorLhs::Scalar, bool Vectorizable = bool((VectorLhs::Flags&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
58 {
59 return typename internal::plain_matrix_type<VectorLhs>::type(
60 numext::conj(lhs.coeff(1) * rhs.coeff(2) - lhs.coeff(2) * rhs.coeff(1)),
61 numext::conj(lhs.coeff(2) * rhs.coeff(0) - lhs.coeff(0) * rhs.coeff(2)),
62 numext::conj(lhs.coeff(0) * rhs.coeff(1) - lhs.coeff(1) * rhs.coeff(0)),
63 0
64 );
65 }

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