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

#include <OrthoMethods.h>

List of all members.

Static Public Member Functions

static
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 >

Definition at line 55 of file OrthoMethods.h.


Member Function Documentation

template<int Arch, typename VectorLhs , typename VectorRhs , typename Scalar = typename VectorLhs::Scalar, bool Vectorizable = bool((VectorLhs::Flags&VectorRhs::Flags)&PacketAccessBit)>
static internal::plain_matrix_type<VectorLhs>::type Eigen::internal::cross3_impl< Arch, VectorLhs, VectorRhs, Scalar, Vectorizable >::run ( const VectorLhs &  lhs,
const VectorRhs &  rhs 
) [inline, static]

Definition at line 57 of file OrthoMethods.h.

  {
    return typename internal::plain_matrix_type<VectorLhs>::type(
      numext::conj(lhs.coeff(1) * rhs.coeff(2) - lhs.coeff(2) * rhs.coeff(1)),
      numext::conj(lhs.coeff(2) * rhs.coeff(0) - lhs.coeff(0) * rhs.coeff(2)),
      numext::conj(lhs.coeff(0) * rhs.coeff(1) - lhs.coeff(1) * rhs.coeff(0)),
      0
    );
  }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines