EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Derived,3); EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(DerivedOther1,3); EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(DerivedOther2,3);/*ASSERTMSG( v1.rows() == 3 && v1.cols()==1 && v2.rows() == 3 && v2.cols() == 1 && v3.rows() == 3...
Cancel Create saved search Sign in Sign up Reseting focus {{ message }} This repository has been archived by the owner on Oct 16, 2018. It is now read-only. libigl / eigen Public archive Notifications You must be signed in to change notification settings Fork 134 Star 213 ...
eigen_assert(m_currentBlockRows==other.rows());m_xpr.templateblock<OtherDerived::RowsAtCompileTime...
eigen_assert(m_storage.data()!=0 && "you cannot use operator= with a non initialized matrix (instead use set()"); return Base::operator=(other.derived()); } \endcode Here, Base is a typedef for MatrixBase\<Matrix\>. So, what is being called is the operator= of MatrixBas...
Eigen::Vector4f color = covarianceParameter->color(); Eigen::SelfAdjointEigenSolver<Eigen::Matrix3f> eigenSolver; eigenSolver.computeDirect(_covariance, Eigen::ComputeEigenvectors); Eigen::Vector3f lambda = eigenSolver.eigenvalues(); Eigen::Isometry3f I = Eigen::Isometry3f::Identity(); ...
EIGEN_STATIC_ASSERT((internal::traits<Derived>::Flags&RowMajorBit)==0,THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); typedef typename Derived::Scalar Scalar; cholmod_dense res; res.nrow = mat.rows(); res.ncol = mat.cols(); ...
you're right, actually .row()/.col() have to means to imply a storage order: it is inferred from the dimension being equals to 1. So same issue. I'm tempted to add a static assert if calling tail/segment/head on a 1x1 expression with a segment size other than 1 at compile-time...
Another suggestion for the index conversion: The runtime asserts are only needed for conversions to narrower type. The following templates take care of this: template<typename IndexDest, typename IndexSrc, bool WithAssert = (sizeof(IndexDest)<sizeof(IndexSrc))> struct IndexConvert { static inlin...
/include/kimera-vio/StereoVisionFrontEnd.h:25, from /home/harshal/vio_ws/src/Kimera-VIO/src/StereoVisionFrontEnd.cpp:16: /home/harshal/vio_ws/devel/include/gtsam/base/Vector.h:72:1: error: static assertion failed: Error: GTSAM was built against a different version of Eigen static_assert(...
assert(LIWAR >= N && "Please call QLD::problem with the correct dimensions."); A_.topRows(nreq) = -Aeq; A_.bottomRows(nrineq) = -Aineq; fortran_ql(&M, &nreq, &MMAX, &N, &NMAX, &NMN, Q.derived().data(), c.derived().data(), A.derived().data(), b.derived().data...