34 namespace cblas_interface
47 CBLAS_TRANSPOSE TransA,
59 cblas_sgemv(layout, TransA, M, N, alpha, A, lda, X, incX, beta, Y,
74 CBLAS_TRANSPOSE TransA,
86 cblas_dgemv(layout, TransA, M, N, alpha, A, lda, X, incX, beta, Y,
99 void xgemv<long double>(
101 CBLAS_TRANSPOSE TransA,
104 const long double alpha,
105 const long double* A,
107 const long double* X,
109 const long double beta,
128 std::cerr <<
"Error: cblas_?copy for long double type is not "
129 <<
"implemented. To use long double type, set USE_CBLAS "
130 <<
"to 0 and recompile the package."
151 cblas_scopy(N, X, incX, Y, incY);
170 cblas_dcopy(N, X, incX, Y, incY);
182 void xcopy<long double>(
184 const long double* X,
197 std::cerr <<
"Error: cblas_?copy for long double type is not "
198 <<
"implemented. To use long double type, set USE_CBLAS "
199 <<
"to 0 and recompile the package."
221 cblas_saxpy(N, alpha, X, incX, Y, incY);
241 cblas_daxpy(N, alpha, X, incX, Y, incY);
253 void xaxpy<long double>(
255 const long double alpha,
256 const long double* X,
270 std::cerr <<
"Error: cblas_?axpy for long double type is not "
271 <<
"implemented. To use long double type, set USE_CBLAS "
272 <<
"to 0 and recompile the package."
293 return cblas_sdot(N, X, incX, Y, incY);
312 return cblas_ddot(N, X, incX, Y, incY);
324 long double xdot<long double>(
326 const long double* X,
328 const long double* Y,
339 std::cerr <<
"Error: cblas_?dot for long double type is not "
340 <<
"implemented. To use long double type, set USE_CBLAS "
341 <<
"to 0 and recompile the package."
360 return cblas_snrm2(N, X, incX);
372 double xnrm2<double>(
377 return cblas_dnrm2(N, X, incX);
389 long double xnrm2<long double>(
391 const long double* X,
400 std::cerr <<
"Error: cblas_?nrm2 for long double type is not "
401 <<
"implemented. To use long double type, set USE_CBLAS "
402 <<
"to 0 and recompile the package."
422 cblas_sscal(N, alpha, X, incX);
440 cblas_dscal(N, alpha, X, incX);
452 void xscal<long double>(
454 const long double alpha,
465 std::cerr <<
"Error: cblas_?scal for long double type is not "
466 <<
"implemented. To use long double type, set USE_CBLAS "
467 <<
"to 0 and recompile the package."