Home | History | Annotate | Download | only in Geometry

Lines Matching refs:other

18   * \returns the cross product of \c *this and \a other
26 MatrixBase<Derived>::cross(const MatrixBase<OtherDerived>& other) const
34 typename internal::nested<OtherDerived,2>::type rhs(other.derived());
64 * \returns the cross product of \c *this and \a other using only the x, y, and z coefficients
66 * The size of \c *this and \a other must be four. This function is especially useful
74 MatrixBase<Derived>::cross3(const MatrixBase<OtherDerived>& other) const
82 OtherDerivedNested rhs(other.derived());
90 * of the referenced expression with the \a other vector.
101 VectorwiseOp<ExpressionType,Direction>::cross(const MatrixBase<OtherDerived>& other) const
111 res.row(0) = (_expression().row(1) * other.coeff(2) - _expression().row(2) * other.coeff(1)).conjugate();
112 res.row(1) = (_expression().row(2) * other.coeff(0) - _expression().row(0) * other.coeff(2)).conjugate();
113 res.row(2) = (_expression().row(0) * other.coeff(1) - _expression().row(1) * other.coeff(0)).conjugate();
118 res.col(0) = (_expression().col(1) * other.coeff(2) - _expression().col(2) * other.coeff(1)).conjugate();
119 res.col(1) = (_expression().col(2) * other.coeff(0) - _expression().col(0) * other.coeff(2)).conjugate();
120 res.col(2) = (_expression().col(0) * other.coeff(1) - _expression().col(1) * other.coeff(0)).conjugate();