Home
last modified time | relevance | path

Searched refs:make_vector (Results 1 – 11 of 11) sorted by relevance

/external/eigen/blas/
Dlevel1_cplx_impl.h35 if(*incx==1) return make_vector(x,*n).unaryExpr<scalar_norm1_op>().sum();
36 else return make_vector(x,*n,std::abs(*incx)).unaryExpr<scalar_norm1_op>().sum();
54 if(*incx==1 && *incy==1) *res = (make_vector(x,*n).dot(make_vector(y,*n)));
55 else if(*incx>0 && *incy>0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,*incy)));
56 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,*incy)…
57 …else if(*incx>0 && *incy<0) *res = (make_vector(x,*n,*incx).dot(make_vector(y,*n,-*incy).reverse()…
58 …else if(*incx<0 && *incy<0) *res = (make_vector(x,*n,-*incx).reverse().dot(make_vector(y,*n,-*incy…
76 if(*incx==1 && *incy==1) *res = (make_vector(x,*n).cwiseProduct(make_vector(y,*n))).sum();
77 …else if(*incx>0 && *incy>0) *res = (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,*incy)))…
78 …else if(*incx<0 && *incy>0) *res = (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,…
[all …]
Dlevel1_impl.h20 if(*incx==1 && *incy==1) make_vector(y,*n) += alpha * make_vector(x,*n); in EIGEN_BLAS_FUNC()
21 else if(*incx>0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,*incx); in EIGEN_BLAS_FUNC()
22 else if(*incx>0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,*incx); in EIGEN_BLAS_FUNC()
23 else if(*incx<0 && *incy>0) make_vector(y,*n,*incy) += alpha * make_vector(x,*n,-*incx).reverse(); in EIGEN_BLAS_FUNC()
24 …else if(*incx<0 && *incy<0) make_vector(y,*n,-*incy).reverse() += alpha * make_vector(x,*n,-*incx)… in EIGEN_BLAS_FUNC()
38 make_vector(y,*n) = make_vector(x,*n); in EIGEN_BLAS_FUNC()
60 if(*incx==1) make_vector(x,*n).cwiseAbs().maxCoeff(&ret); in EIGEN_CAT()
61 else make_vector(x,*n,std::abs(*incx)).cwiseAbs().maxCoeff(&ret); in EIGEN_CAT()
71 if(*incx==1) make_vector(x,*n).cwiseAbs().minCoeff(&ret); in EIGEN_CAT()
72 else make_vector(x,*n,std::abs(*incx)).cwiseAbs().minCoeff(&ret); in EIGEN_CAT()
[all …]
Dlevel1_real_impl.h22 if(*incx==1) return make_vector(x,*n).cwiseAbs().sum(); in EIGEN_BLAS_FUNC()
23 else return make_vector(x,*n,std::abs(*incx)).cwiseAbs().sum(); in EIGEN_BLAS_FUNC()
36 if(*incx==1 && *incy==1) return (make_vector(x,*n).cwiseProduct(make_vector(y,*n))).sum(); in EIGEN_BLAS_FUNC()
37 …else if(*incx>0 && *incy>0) return (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,*incy)))… in EIGEN_BLAS_FUNC()
38 …else if(*incx<0 && *incy>0) return (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,… in EIGEN_BLAS_FUNC()
39 …else if(*incx>0 && *incy<0) return (make_vector(x,*n,*incx).cwiseProduct(make_vector(y,*n,-*incy).… in EIGEN_BLAS_FUNC()
40 …else if(*incx<0 && *incy<0) return (make_vector(x,*n,-*incx).reverse().cwiseProduct(make_vector(y,… in EIGEN_BLAS_FUNC()
53 if(*incx==1) return make_vector(x,*n).stableNorm(); in EIGEN_BLAS_FUNC()
54 else return make_vector(x,*n,std::abs(*incx)).stableNorm(); in EIGEN_BLAS_FUNC()
67 StridedVectorType vx(make_vector(x,*n,std::abs(*incx))); in EIGEN_BLAS_FUNC()
[all …]
Ddouble.cpp26 …if(*incx==1 && *incy==1) return (make_vector(x,*n).cast<double>().cwiseProduct(make_vector(y,*n… in BLASFUNC()
27 …else if(*incx>0 && *incy>0) return (make_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vecto… in BLASFUNC()
28 …else if(*incx<0 && *incy>0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct… in BLASFUNC()
29 …else if(*incx>0 && *incy<0) return (make_vector(x,*n,*incx).cast<double>().cwiseProduct(make_vecto… in BLASFUNC()
30 …else if(*incx<0 && *incy<0) return (make_vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct… in BLASFUNC()
Dcommon.h115 Map<Matrix<T,Dynamic,1>, 0, InnerStride<Dynamic> > make_vector(T* data, int size, int incr) in make_vector() function
121 Map<const Matrix<T,Dynamic,1>, 0, InnerStride<Dynamic> > make_vector(const T* data, int size, int i… in make_vector() function
127 Map<Matrix<T,Dynamic,1> > make_vector(T* data, int size) in make_vector() function
133 Map<const Matrix<T,Dynamic,1> > make_vector(const T* data, int size) in make_vector() function
145 if(incx<0) make_vector(ret,n) = make_vector(x,n,-incx).reverse(); in get_compact_vector()
146 else make_vector(ret,n) = make_vector(x,n, incx); in get_compact_vector()
156 if(incx<0) make_vector(x,n,-incx).reverse() = make_vector(x_cpy,n); in copy_back()
157 else make_vector(x,n, incx) = make_vector(x_cpy,n); in copy_back()
Dlevel2_impl.h71 if(beta==Scalar(0)) make_vector(actual_c, actual_m).setZero(); in EIGEN_BLAS_FUNC()
72 else make_vector(actual_c, actual_m) *= beta; in EIGEN_BLAS_FUNC()
253 if(beta==Scalar(0)) make_vector(actual_y, actual_m).setZero(); in EIGEN_BLAS_FUNC()
254 else make_vector(actual_y, actual_m) *= beta; in EIGEN_BLAS_FUNC()
267make_vector(actual_y+start,len) += (alpha*actual_x[j]) * mat_coeffs.col(j).segment(offset,len); in EIGEN_BLAS_FUNC()
269 …actual_y[j] += alpha * ( mat_coeffs.col(j).segment(offset,len).transpose() * make_vector(actual_x+… in EIGEN_BLAS_FUNC()
271 …actual_y[j] += alpha * ( mat_coeffs.col(j).segment(offset,len).adjoint() * make_vector(actual_x+… in EIGEN_BLAS_FUNC()
325make_vector(actual_y+start,len) += (alpha*actual_x[j]) * mat_coeffs.col(j).segment(offset,len);
327 …actual_y[j] += alpha * ( mat_coeffs.col(j).segment(offset,len).transpose() * make_vector(actual_x+…
329 …actual_y[j] += alpha * ( mat_coeffs.col(j).segment(offset,len).adjoint() * make_vector(actual_x+…
Dlevel2_real_impl.h48 if(beta==Scalar(0)) make_vector(actual_y, *n).setZero(); in EIGEN_BLAS_FUNC()
49 else make_vector(actual_y, *n) *= beta; in EIGEN_BLAS_FUNC()
Dlevel2_cplx_impl.h54 if(beta==Scalar(0)) make_vector(actual_y, *n).setZero(); in EIGEN_BLAS_FUNC()
55 else make_vector(actual_y, *n) *= beta; in EIGEN_BLAS_FUNC()
/external/eigen/lapack/
Deigenvalues.cpp50 make_vector(w,*n).setZero();
57 make_vector(w,*n) = eig.eigenvalues();
Dsvd.cpp58 make_vector(s,diag_size) = svd.singularValues().head(diag_size);
126 make_vector(s,diag_size) = svd.singularValues().head(diag_size);
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DVectorExtras.h28 inline std::vector<T> make_vector(T A, ...) { in make_vector() function