/external/eigen/blas/ |
double.cpp | 10 #define SCALAR double
|
single.cpp | 10 #define SCALAR float
|
complex_double.cpp | 10 #define SCALAR std::complex<double>
|
complex_single.cpp | 10 #define SCALAR std::complex<float>
|
common.h | 16 #ifndef SCALAR 17 #error the token SCALAR must be defined to compile this file 81 typedef SCALAR Scalar; 82 typedef NumTraits<Scalar>::Real RealScalar; 87 IsComplex = Eigen::NumTraits<SCALAR>::IsComplex, 91 typedef Matrix<Scalar,Dynamic,Dynamic,ColMajor> PlainMatrixType; 92 typedef Map<Matrix<Scalar,Dynamic,Dynamic,ColMajor>, 0, OuterStride<> > MatrixType; 93 typedef Map<Matrix<Scalar,Dynamic,1>, 0, InnerStride<Dynamic> > StridedVectorType; 94 typedef Map<Matrix<Scalar,Dynamic,1> > CompactVectorType [all...] |
/external/eigen/lapack/ |
double.cpp | 10 #define SCALAR double
|
single.cpp | 10 #define SCALAR float
|
complex_double.cpp | 10 #define SCALAR std::complex<double>
|
complex_single.cpp | 10 #define SCALAR std::complex<float>
|
/external/eigen/bench/ |
benchmark.cpp | 18 #ifndef SCALAR 19 #define SCALAR double 24 Matrix<SCALAR,MATSIZE,MATSIZE> I = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones(); 25 Matrix<SCALAR,MATSIZE,MATSIZE> m; 34 m = Matrix<SCALAR,MATSIZE,MATSIZE>::Ones() + 0.00005 * (m + (m*m));
|
vdw_new.cpp | 6 #ifndef SCALAR 7 #define SCALAR float 18 typedef Matrix<SCALAR, Eigen::Dynamic, 1> Vec; 22 SCALAR E_VDW(const Vec &interactions1, const Vec &interactions2) 45 SCALAR rab = 1.0; 50 SCALAR energy = 0.0;
|
bench_sum.cpp | 8 typedef Matrix<SCALAR,Eigen::Dynamic,1> Vec; 15 v.coeffRef(0) += v.sum() * SCALAR(1e-20);
|
benchmarkSlice.cpp | 14 #ifndef SCALAR 15 #define SCALAR float 20 typedef Matrix<SCALAR, Eigen::Dynamic, Eigen::Dynamic> Mat; 32 m.block(r,c,nr,nc) *= SCALAR(10); 34 m.block(r,c,nr,nc) /= SCALAR(10);
|
geometry.cpp | 9 #ifndef SCALAR 10 #define SCALAR float 17 typedef SCALAR Scalar; 18 typedef NumTraits<Scalar>::Real RealScalar; 20 typedef Matrix</*Real*/Scalar,Dynamic,Dynamic> B; 21 typedef Matrix<Scalar,Dynamic,Dynamic> C; 32 template<typename Scalar, typename Data> 33 EIGEN_DONT_INLINE void transform(const Quaternion<Scalar>& t, Data& data) 44 typedef typename T::Scalar Scalar [all...] |
BenchSparseUtil.h | 18 #ifndef SCALAR 19 #define SCALAR double 22 typedef SCALAR Scalar; 23 typedef Matrix<Scalar,Dynamic,Dynamic> DenseMatrix; 24 typedef Matrix<Scalar,Dynamic,1> DenseVector; 25 typedef SparseMatrix<Scalar> EigenSparseMatrix; 34 Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0; 56 dst.insert(k,j) = internal::random<Scalar>(); [all...] |
benchEigenSolver.cpp | 27 #ifndef SCALAR 28 #define SCALAR float 31 typedef SCALAR Scalar; 42 typedef typename MatrixType::Scalar Scalar; 43 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType; 50 Scalar acc = 0; 95 gmm::dense_matrix<Scalar> gmmCovMat(covMat.rows(),covMat.cols()); 96 gmm::dense_matrix<Scalar> eigvect(covMat.rows(),covMat.cols()) [all...] |
bench_gemm.cpp | 12 #ifndef SCALAR 13 // #define SCALAR std::complex<float> 14 #define SCALAR float 17 typedef SCALAR Scalar; 18 typedef NumTraits<Scalar>::Real RealScalar; 20 typedef Matrix</*Real*/Scalar,Dynamic,Dynamic> B; 21 typedef Matrix<Scalar,Dynamic,Dynamic> C; 125 typedef internal::gebp_traits<Scalar,Scalar> Traits [all...] |
spmv.cpp | 4 #define SCALAR double 176 boost::numeric::ublas::vector<Scalar> uv(cols), ures(rows); 177 Map<Matrix<Scalar,Dynamic,1> >(&uv[0], cols) = dv; 178 Map<Matrix<Scalar,Dynamic,1> >(&ures[0], rows) = res; 194 std::vector<Scalar> gv(cols), gres(rows); 195 Map<Matrix<Scalar,Dynamic,1> >(&gv[0], cols) = dv; 196 Map<Matrix<Scalar,Dynamic,1> >(&gres[0], rows) = res; 211 mtl::dense_vector<Scalar> mv(cols, 1.0); 212 mtl::dense_vector<Scalar> mres(rows, 1.0);
|
/external/eigen/bench/btl/libs/BLAS/ |
blas_interface_impl.hh | 4 template<> class blas_interface<SCALAR> : public c_interface_base<SCALAR> 9 static SCALAR fone; 10 static SCALAR fzero; 33 static inline void rot(gene_vector & A, gene_vector & B, SCALAR c, SCALAR s, int N){ 57 static inline void axpy(SCALAR coef, const gene_vector & X, gene_vector & Y, int N){ 61 static inline void axpby(SCALAR a, const gene_vector & X, SCALAR b, gene_vector & Y, int N){ 124 SCALAR* d = new SCALAR[N+worksize] [all...] |
blas_interface.hh | 67 #define SCALAR float 70 #undef SCALAR 74 #define SCALAR double 77 #undef SCALAR
|
/external/eigen/test/ |
product_trmm.cpp | 12 template<typename Scalar, int Mode, int TriOrder, int OtherOrder, int ResOrder, int OtherCols> 17 typedef typename NumTraits<Scalar>::Real RealScalar; 19 typedef Matrix<Scalar,Dynamic,Dynamic,TriOrder> TriMatrix; 20 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:OtherOrder> OnTheRight; 21 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:OtherOrder> OnTheLeft; 23 typedef Matrix<Scalar,Dynamic,OtherCols,OtherCols==1?ColMajor:ResOrder> ResXS; 24 typedef Matrix<Scalar,OtherCols,Dynamic,OtherCols==1?RowMajor:ResOrder> ResSX; 33 Scalar s1 = internal::random<Scalar>(), 34 s2 = internal::random<Scalar>(); [all...] |
/external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/ |
backportPP.pm | 291 encode_error("hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this)") 426 if ($type eq 'SCALAR' and defined $$value) { 430 : encode_error("cannot encode reference to scalar"); 437 if ( $type eq 'SCALAR' or $type eq 'REF' ) { 438 encode_error("cannot encode reference to scalar"); [all...] |
/external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/ |
backportPP.pm | 291 encode_error("hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this)") 426 if ($type eq 'SCALAR' and defined $$value) { 430 : encode_error("cannot encode reference to scalar"); 437 if ( $type eq 'SCALAR' or $type eq 'REF' ) { 438 encode_error("cannot encode reference to scalar"); [all...] |
/external/chromium_org/third_party/JSON/out/lib/perl5/JSON/ |
backportPP.pm | 291 encode_error("hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this)") 426 if ($type eq 'SCALAR' and defined $$value) { 430 : encode_error("cannot encode reference to scalar"); 437 if ( $type eq 'SCALAR' or $type eq 'REF' ) { 438 encode_error("cannot encode reference to scalar"); [all...] |