/external/eigen/unsupported/Eigen/src/BVH/ |
KdBVH.h | 18 template<typename Scalar, int Dim> 21 EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar, Dim) 22 typedef Matrix<Scalar, Dim, 1> VectorType; 57 * \param _Scalar The underlying scalar type of the bounding boxes 73 typedef _Scalar Scalar; 74 typedef AlignedBox<Scalar, Dim> Volume; 170 typedef internal::vector_int_pair<Scalar, Dim> VIPair; 172 typedef Matrix<Scalar, Dim, 1> VectorType;
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
Scaling.h | 51 typedef typename MatrixType::Scalar Scalar;
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
MatrixExponential.h | 19 template <typename Scalar> Scalar log2(Scalar v) { using std::log; return log(v)/log(Scalar(2)); } 138 typedef typename internal::traits<MatrixType>::Scalar Scalar; 139 typedef typename NumTraits<Scalar>::Real RealScalar; 301 MatrixType A = m_M / pow(Scalar(2), m_squarings); 323 MatrixType A = m_M / pow(Scalar(2), m_squarings); 348 MatrixType A = m_M / pow(Scalar(2), m_squarings) [all...] |
/external/eigen/unsupported/Eigen/src/Polynomials/ |
Companion.h | 49 typedef _Scalar Scalar; 50 typedef typename NumTraits<Scalar>::Real RealScalar; 51 typedef Matrix<Scalar, Deg, 1> RightColumn; 52 //typedef DiagonalMatrix< Scalar, Deg_1, Deg_1 > BottomLeftDiagonal; 53 typedef Matrix<Scalar, Deg_1, 1> BottomLeftDiagonal; 55 typedef Matrix<Scalar, Deg, Deg> DenseCompanionMatrixType; 56 typedef Matrix< Scalar, _Deg, Deg_1 > LeftBlock; 57 typedef Matrix< Scalar, Deg_1, Deg_1 > BottomLeftBlock; 58 typedef Matrix< Scalar, 1, Deg_1 > LeftBlockFirstRow; 110 bool balanced( Scalar colNorm, Scalar rowNorm [all...] |
PolynomialSolver.h | 34 typedef _Scalar Scalar; 35 typedef typename NumTraits<Scalar>::Real RealScalar; 70 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) const 101 std::greater<Scalar> greater; 110 std::less<Scalar> less; 119 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) const 159 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) const 211 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) const 213 std::greater<Scalar> greater; 234 const RealScalar& absImaginaryThreshold = NumTraits<Scalar>::dummy_precision() ) cons [all...] |
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineInplaceLU.h | 27 typedef typename MatrixType::Scalar Scalar; 30 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; 214 Scalar newCoeff = m_lu.coeffLower(row, col) - rowVal.dot(colVal); 220 Scalar newCoeff = m_lu.coeffLower(row, col); 223 const Scalar tmp = newCoeff; 249 Scalar newCoeff = m_lu.coeffUpper(rrow, col) - rowVal.dot(colVal); 255 Scalar newCoeff = m_lu.coeffUpper(rrow, col); 257 const Scalar tmp = newCoeff; 279 Scalar newCoeff = m_lu.coeffDiag(row) - rowVal.dot(colVal) [all...] |
SkylineMatrix.h | 27 * \param _Scalar the scalar type, i.e. the type of the coefficients 36 typedef _Scalar Scalar; 45 CoeffReadCost = NumTraits<Scalar>::ReadCost, 62 typedef SkylineMatrix<Scalar, (Flags&~RowMajorBit) | (IsRowMajor ? RowMajorBit : 0) > TransposedSkylineMatrix; 70 SkylineStorage<Scalar> m_data; 106 inline const Scalar* _diagPtr() const { 110 inline Scalar* _diagPtr() { 114 inline const Scalar* _upperPtr() const { 118 inline Scalar* _upperPtr() { 122 inline const Scalar* _lowerPtr() const [all...] |
SkylineMatrixBase.h | 29 typedef typename internal::traits<Derived>::Scalar Scalar; 79 /** This is the "real scalar" type; if the \a Scalar type is already real numbers 80 * (e.g. int, float or double) then \a RealScalar is just the same as \a Scalar. If 81 * \a Scalar is \a std::complex<T> then RealScalar is \a T. 85 typedef typename NumTraits<Scalar>::Real RealScalar; 88 typedef Matrix<Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), 161 if (other.coeff(row, col) != Scalar(0)) 193 Matrix<Scalar, RowsAtCompileTime, ColsAtCompileTime> toDense() const [all...] |
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
DynamicSparseMatrix.h | 21 * \param _Scalar the scalar type, i.e. the type of the coefficients 39 typedef _Scalar Scalar; 49 CoeffReadCost = NumTraits<Scalar>::ReadCost, 64 typedef MappedSparseMatrix<Scalar,Flags> Map; 73 typedef DynamicSparseMatrix<Scalar,(Flags&~RowMajorBit)|(IsRowMajor?RowMajorBit:0)> TransposedSparseMatrix; 76 std::vector<internal::CompressedStorage<Scalar,Index> > m_data; 86 std::vector<internal::CompressedStorage<Scalar,Index> >& _data() { return m_data; } 87 const std::vector<internal::CompressedStorage<Scalar,Index> >& _data() const { return m_data; } 92 inline Scalar coeff(Index row, Index col) const 103 inline Scalar& coeffRef(Index row, Index col [all...] |
MarketIO.h | 20 template <typename Scalar> 21 inline bool GetMarketLine (std::stringstream& line, int& M, int& N, int& i, int& j, Scalar& value) 33 template <typename Scalar> 34 inline bool GetMarketLine (std::stringstream& line, int& M, int& N, int& i, int& j, std::complex<Scalar>& value) 36 Scalar valR, valI; 42 value = std::complex<Scalar>(valR, valI); 65 template<typename Scalar> 69 if(internal::is_same<Scalar, std::complex<float> >::value || internal::is_same<Scalar, std::complex<double> >::value) 84 template<typename Scalar> [all...] |
/external/eigen/unsupported/test/ |
FFTW.cpp | 68 template<int Container, typename Scalar> struct VectorType; 70 template<typename Scalar> struct VectorType<StdVectorContainer,Scalar> 72 typedef vector<Scalar> type; 75 template<typename Scalar> struct VectorType<EigenVectorContainer,Scalar> 77 typedef Matrix<Scalar,Dynamic,1> type; 84 typedef typename FFT<T>::Scalar Scalar; 85 typedef typename VectorType<Container,Scalar>::type ScalarVector [all...] |
matrix_function.cpp | 29 typedef typename MatrixType::Scalar Scalar; 33 diag(i, i) = Scalar(RealScalar(internal::random<int>(0,2))) 34 + internal::random<Scalar>() * Scalar(RealScalar(0.01)); 41 template <typename MatrixType, int IsComplex = NumTraits<typename internal::traits<MatrixType>::Scalar>::IsComplex> 55 typedef typename MatrixType::Scalar Scalar; 61 diag(i, i) = internal::random<Scalar>() * Scalar(0.01) [all...] |
polynomialsolver.cpp | 34 typedef typename POLYNOMIAL::Scalar Scalar; 37 typedef Matrix<Scalar,Deg,1> EvalRootsType; 47 bool evalToZero = evr.isZero( test_precision<Scalar>() ); 57 std::vector<Scalar> rootModuli( roots.size() ); 81 typedef typename POLYNOMIAL::Scalar Scalar; 83 typedef PolynomialSolver<Scalar, Deg > PolynomialSolverType; 95 typedef typename POLYNOMIAL::Scalar Scalar; [all...] |
/external/eigen/Eigen/src/Cholesky/ |
LDLT.h | 57 typedef typename MatrixType::Scalar Scalar; 58 typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; 60 typedef Matrix<Scalar, RowsAtCompileTime, 1, Options, MaxRowsAtCompileTime, 1> TmpMatrixType; 251 typedef typename MatrixType::Scalar Scalar; 279 cutoff = abs(NumTraits<Scalar>::epsilon() * biggest_in_corner); 303 Scalar tmp = mat.coeffRef(i,k); 307 if(NumTraits<Scalar>::IsComplex) 345 typedef typename MatrixType::Scalar Scalar [all...] |
/external/eigen/Eigen/src/CholmodSupport/ |
CholmodSupport.h | 17 template<typename Scalar, typename CholmodType> 20 if (internal::is_same<Scalar,float>::value) 25 else if (internal::is_same<Scalar,double>::value) 30 else if (internal::is_same<Scalar,std::complex<float> >::value) 35 else if (internal::is_same<Scalar,std::complex<double> >::value) 42 eigen_assert(false && "Scalar type not supported by CHOLMOD"); 119 typedef typename Derived::Scalar Scalar; 129 internal::cholmod_configure_matrix<Scalar>(res); 136 template<typename Scalar, int Flags, typename Index [all...] |
/external/eigen/Eigen/src/Core/ |
BandMatrix.h | 33 typedef typename internal::traits<Derived>::Scalar Scalar; 34 typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime> DenseMatrixType; 94 Conjugate = ReturnOpposite && NumTraits<Scalar>::IsComplex, 104 CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>,BuildType >, 180 typedef _Scalar Scalar; 184 CoeffReadCost = NumTraits<Scalar>::ReadCost, 195 typedef Matrix<Scalar,DataRowsAtCompileTime,ColsAtCompileTime,Options&RowMajor?RowMajor:ColMajor> CoefficientsType; 203 typedef typename internal::traits<BandMatrix>::Scalar Scalar; [all...] |
Block.h | 53 typedef typename traits<XprType>::Scalar Scalar; 81 MaskPacketAccessBit = (InnerSize == Dynamic || (InnerSize % packet_traits<Scalar>::size) == 0) 84 MaskAlignedBit = (InnerPanel && (OuterStrideAtCompileTime!=Dynamic) && (((OuterStrideAtCompileTime * int(sizeof(Scalar))) % 16) == 0)) ? AlignedBit : 0, 155 inline Scalar& coeffRef(Index row, Index col) 162 inline const Scalar& coeffRef(Index row, Index col) const 173 inline Scalar& coeffRef(Index index) 181 inline const Scalar& coeffRef(Index index) const 227 inline const Scalar* data() const; 336 inline Block(XprType& xpr, const Scalar* data, Index blockRows, Index blockCols [all...] |
CwiseBinaryOp.h | 51 // even though we require Lhs and Rhs to have the same scalar type (see CwiseBinaryOp constructor), 55 typename Lhs::Scalar, 56 typename Rhs::Scalar 58 >::type Scalar; 72 SameType = is_same<typename _LhsNested::Scalar,typename _RhsNested::Scalar>::value, 89 // we require Lhs and Rhs to have the same scalar type. Currently there is no example of a binary functor 92 // currently they take only one typename Scalar template parameter. 128 EIGEN_CHECK_BINARY_COMPATIBILIY(BinaryOp,typename Lhs::Scalar,typename Rhs::Scalar); [all...] |
DenseBase.h | 33 : public internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar, 34 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real> 40 using internal::special_scalar_op_base<Derived,typename internal::traits<Derived>::Scalar, 41 typename NumTraits<typename internal::traits<Derived>::Scalar>::Real>::operator*; 53 typedef typename internal::traits<Derived>::Scalar Scalar; 54 typedef typename internal::packet_traits<Scalar>::type PacketScalar; 55 typedef typename NumTraits<Scalar>::Real RealScalar; 228 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,Derived> ConstantReturnType; 230 typedef CwiseNullaryOp<internal::linspaced_op<Scalar,false>,Derived> SequentialLinSpacedReturnType [all...] |
DenseCoeffsBase.h | 39 typedef typename internal::traits<Derived>::Scalar Scalar; 40 typedef typename internal::packet_traits<Scalar>::type PacketScalar; 47 // while the declaration of "const T", where T is a non arithmetic type does not. Always returning "const Scalar&" is 50 const Scalar&, 51 typename internal::conditional<internal::is_arithmetic<Scalar>::value, Scalar, const Scalar>::type 55 typename internal::packet_traits<Scalar>::type 282 typedef typename internal::traits<Derived>::Scalar Scalar [all...] |
MatrixBase.h | 56 typedef typename internal::traits<Derived>::Scalar Scalar; 57 typedef typename internal::packet_traits<Scalar>::type PacketScalar; 58 typedef typename NumTraits<Scalar>::Real RealScalar; 95 typedef Matrix<Scalar,EIGEN_SIZE_MAX(RowsAtCompileTime,ColsAtCompileTime), 109 typedef Matrix<typename internal::traits<Derived>::Scalar, 119 typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,Derived> ConstantReturnType; 121 typedef typename internal::conditional<NumTraits<Scalar>::IsComplex, 122 CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>, ConstTransposeReturnType>, 128 typedef CwiseNullaryOp<internal::scalar_identity_op<Scalar>,Derived> IdentityReturnType [all...] |
PermutationMatrix.h | 69 typedef typename Traits::Scalar Scalar; 71 typedef Matrix<Scalar,RowsAtCompileTime,ColsAtCompileTime,0,MaxRowsAtCompileTime,MaxColsAtCompileTime> 122 other.coeffRef(indices().coeff(i),i) = typename DenseDerived::Scalar(1); 406 typedef typename IndicesType::Scalar Index; 468 typedef typename _IndicesType::Scalar Scalar; 469 typedef typename _IndicesType::Scalar Index; 632 typedef typename Traits::Scalar Scalar; [all...] |
ProductBase.h | 27 typedef typename scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType Scalar; 74 typedef typename internal::traits<Lhs>::Scalar LhsScalar; 81 typedef typename internal::traits<Rhs>::Scalar RhsScalar; 102 inline void evalTo(Dest& dst) const { dst.setZero(); scaleAndAddTo(dst,Scalar(1)); } 105 inline void addTo(Dest& dst) const { scaleAndAddTo(dst,Scalar(1)); } 108 inline void subTo(Dest& dst) const { scaleAndAddTo(dst,Scalar(-1)); } 111 inline void scaleAndAddTo(Dest& dst,Scalar alpha) const { derived().scaleAndAddTo(dst,alpha); } 142 Matrix<Scalar,1,1> result = *this [all...] |
Redux.h | 31 PacketSize = packet_traits<typename Derived::Scalar>::size, 83 typedef typename Derived::Scalar Scalar; 85 static EIGEN_STRONG_INLINE Scalar run(const Derived &mat, const Func& func) 100 typedef typename Derived::Scalar Scalar; 102 static EIGEN_STRONG_INLINE Scalar run(const Derived &mat, const Func&) 114 typedef typename Derived::Scalar Scalar; 115 static EIGEN_STRONG_INLINE Scalar run(const Derived&, const Func&) { return Scalar(); [all...] |
SolveTriangular.h | 22 template <typename Scalar, typename Index, int Side, int Mode, bool Conjugate, int TriStorageOrder, int OtherStorageOrder> 52 typedef typename Lhs::Scalar LhsScalar; 53 typedef typename Rhs::Scalar RhsScalar; 61 // FIXME find a way to allow an inner stride if packet_traits<Scalar>::size==1 84 typedef typename Rhs::Scalar Scalar; 96 typedef internal::gemm_blocking_space<(Rhs::Flags&RowMajorBit) ? RowMajor : ColMajor,Scalar,Scalar, 101 triangular_solve_matrix<Scalar,Index,Side,Mode,LhsProductTraits::NeedToConjugate,(int(Lhs::Flags) & RowMajorBit) ? RowMajor : ColMajor,
|