Lines Matching defs:Eigen
1 // This file is part of Eigen, a lightweight C++ template library
61 // See bug 554 (http://eigen.tuxfamily.org/bz/show_bug.cgi?id=554)
81 namespace Eigen {
523 // you can overwrite Eigen's default behavior regarding alloca by defining EIGEN_ALLOCA
548 Eigen::internal::construct_elements_of_array(m_ptr, size);
553 Eigen::internal::destruct_elements_of_array<T>(m_ptr, m_size);
555 Eigen::internal::aligned_free(m_ptr);
589 Eigen::internal::check_size_for_overflow<TYPE>(SIZE); \
593 : Eigen::internal::aligned_malloc(sizeof(TYPE)*SIZE) ); \
594 Eigen::internal::aligned_stack_memory_handler<TYPE> EIGEN_CAT(NAME,_stack_memory_destructor)((BUFFER)==0 ? NAME : 0,SIZE,sizeof(TYPE)*SIZE>EIGEN_STACK_ALLOCATION_LIMIT)
599 Eigen::internal::check_size_for_overflow<TYPE>(SIZE); \
600 TYPE* NAME = (BUFFER)!=0 ? BUFFER : reinterpret_cast<TYPE*>(Eigen::internal::aligned_malloc(sizeof(TYPE)*SIZE)); \
601 Eigen::internal::aligned_stack_memory_handler<TYPE> EIGEN_CAT(NAME,_stack_memory_destructor)((BUFFER)==0 ? NAME : 0,SIZE,true)
614 try { return Eigen::internal::conditional_aligned_malloc<NeedsToAlign>(size); } \
620 return Eigen::internal::conditional_aligned_malloc<NeedsToAlign>(size); \
626 return Eigen::internal::conditional_aligned_malloc<NeedsToAlign>(size); \
629 return Eigen::internal::conditional_aligned_malloc<NeedsToAlign>(size); \
631 void operator delete(void * ptr) throw() { Eigen::internal::conditional_aligned_free<NeedsToAlign>(ptr); } \
632 void operator delete[](void * ptr) throw() { Eigen::internal::conditional_aligned_free<NeedsToAlign>(ptr); } \
643 Eigen::internal::conditional_aligned_free<NeedsToAlign>(ptr); \
652 EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(bool(((Size)!=Eigen::Dynamic) && ((sizeof(Scalar)*(Size))%16==0)))
666 * // Vector3f does not require 16 bytes alignment, no need to use Eigen's allocator:
975 } // end namespace Eigen