/* blas/gsl_cblas.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/* This is a copy of the CBLAS standard header.
* We carry this around so we do not have to
* break our model for flexible BLAS functionality.
*/
#ifndef __GSL_CBLAS_H__
#define __GSL_CBLAS_H__
#if !defined( CBL_FUN )
# if !defined( CBLAS_DLL )
# define CBL_FUN extern
# elif defined( BUILD_CBLAS_DLL )
# define CBL_FUN extern __declspec(dllexport)
# else
# define CBL_FUN extern __declspec(dllimport)
# endif
#endif
#include <stddef.h>
#undef __BEGIN_DECLS
#undef __END_DECLS
#ifdef __cplusplus
#define __BEGIN_DECLS extern "C" {
#define __END_DECLS }
#else
#define __BEGIN_DECLS /* empty */
#define __END_DECLS /* empty */
#endif
__BEGIN_DECLS
/*
* Enumerated and derived types
*/
#define CBLAS_INDEX size_t /* this may vary between platforms */
enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102};
enum CBLAS_TRANSPOSE {CblasNoTrans=111, CblasTrans=112, CblasConjTrans=113};
enum CBLAS_UPLO {CblasUpper=121, CblasLower=122};
enum CBLAS_DIAG {CblasNonUnit=131, CblasUnit=132};
enum CBLAS_SIDE {CblasLeft=141, CblasRight=142};
/*
* ===========================================================================
* Prototypes for level 1 BLAS functions (complex are recast as routines)
* ===========================================================================
*/
CBL_FUN float cblas_sdsdot(const int N, const float alpha, const float *X,
const int incX, const float *Y, const int incY);
CBL_FUN double cblas_dsdot(const int N, const float *X, const int incX, const float *Y,
const int incY);
CBL_FUN float cblas_sdot(const int N, const float *X, const int incX,
const float *Y, const int incY);
CBL_FUN double cblas_ddot(const int N, const double *X, const int incX,
const double *Y, const int incY);
/*
* Functions having prefixes Z and C only
*/
CBL_FUN void cblas_cdotu_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotu);
CBL_FUN void cblas_cdotc_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotc);
CBL_FUN void cblas_zdotu_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotu);
CBL_FUN void cblas_zdotc_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotc);
/*
* Functions having prefixes S D SC DZ
*/
CBL_FUN float cblas_snrm2(const int N, const float *X, const int incX);
CBL_FUN float cblas_sasum(const int N, const float *X, const int incX);
CBL_FUN double cblas_dnrm2(const int N, const double *X, const int incX);
CBL_FUN double cblas_dasum(const int N, const double *X, const int incX);
CBL_FUN float cblas_scnrm2(const int N, const void *X, const int incX);
CBL_FUN float cblas_scasum(const int N, const void *X, const int incX);
CBL_FUN double cblas_dznrm2(const int N, const void *X, const int incX);
CBL_FUN double cblas_dzasum(const int N, const void *X, const int incX);
/*
* Functions having standard 4 prefixes (S D C Z)
*/
CBL_FUN CBLAS_INDEX cblas_isamax(const int N, const float *X, const int incX);
CBL_FUN CBLAS_INDEX cblas_idamax(const int N, const double *X, const int incX);
CBL_FUN CBLAS_INDEX cblas_icamax(const int N, const void *X, const int incX);
CBL_FUN CBLAS_INDEX cblas_izamax(const int N, const void *X, const int incX);
/*
* ===========================================================================
* Prototypes for level 1 BLAS routines
* ===========================================================================
*/
/*
* Routines with standard 4 prefixes (s, d, c, z)
*/
CBL_FUN void cblas_sswap(const int N, float *X, const int incX,
float *Y, const int incY);
CBL_FUN void cblas_scopy(const int N, const float *X, const int incX,
float *Y, const int incY);
CBL_FUN void cblas_saxpy(const int N, const float alpha, const float *X,
const int incX, float *Y, const int incY);
CBL_FUN void cblas_dswap(const int N, double *X, const int incX,
double *Y, const int incY);
CBL_FUN void cblas_dcopy(const int N, const double *X, const int incX,
double *Y, const int incY);
CBL_FUN void cblas_daxpy(const int N, const double alpha, const double *X,
const int incX, double *Y, const int incY);
CBL_FUN void cblas_cswap(const int N, void *X, const int incX,
void *Y, const int incY);
CBL_FUN void cblas_ccopy(const int N, const void *X, const int incX,
void *Y, const int incY);
CBL_FUN void cblas_caxpy(const int N, const void *alpha, const void *X,
const int incX, void *Y, const int incY);
CBL_FUN void cblas_zswap(const int N, void *X, const int incX,
void *Y, const int incY);
CBL_FUN void cblas_zcopy(const int N, const void *X, const int incX,
void *Y, const int incY);
CBL_FUN void cblas_zaxpy(const int N, const void *alpha, const void *X,
const int incX, void *Y, const int incY);
/*
* Routines with S and D prefix only
*/
CBL_FUN void cblas_srotg(float *a, float *b, float *c, float *s);
CBL_FUN void cblas_srotmg(float *d1, float *d2, float *b1, const float b2, float *P);
CBL_FUN void cblas_srot(const int N, float *X, const int incX,
float *Y, const int incY, const float c, const float s);
CBL_FUN void cblas_srotm(const int N, float *X, const int incX,
float *Y, const int incY, const float *P);
CBL_FUN void cblas_drotg(double *a, double *b, double *c, double *s);
CBL_FUN void cblas_drotmg(double *d1, double *d2, double *b1, const double b2, double *P);
CBL_FUN void cblas_drot(const int N, double *X, const int incX,
double *Y, const int incY, const double c, const double s);
CBL_FUN void cblas_drotm(const int N, double *X, const int incX,
double *Y, const int incY, const double *P);
/*
* Routines with S D C Z CS and ZD prefixes
*/
CBL_FUN void cblas_sscal(const int N, const float alpha, float *X, const int incX);
CBL_FUN void cblas_dscal(const int N, const double alpha, double *X, const int incX);
CBL_FUN void cblas_cscal(const int N, const void *alpha, void *X, const int incX);
CBL_FUN void cblas_zscal(const int N, const void *alpha, void *X, const int incX);
CBL_FUN void cblas_csscal(const int N, const float alpha, void *X, const int incX);
CBL_FUN void cblas_zdscal(const int N, const double alpha, void *X, const int incX);
/*
* ===========================================================================
* Prototypes for level 2 BLAS
* ===========================================================================
*/
/*
* Routines with standard 4 prefixes (S, D, C, Z)
*/
CBL_FUN void cblas_sgemv(const enum CBLAS_ORDER order,
const enum CBLAS_TRANSPOSE TransA, const int M, const int N,
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
gsl for windows 32&64 by VS compiler project (241个子文件)
Makefile.am 346B
gsl_cblas.h 35KB
gsl_blas.h 23KB
gsl_linalg.h 22KB
gsl_matrix_complex_long_double.h 16KB
gsl_sf_bessel.h 15KB
gsl_matrix_complex_float.h 15KB
gsl_matrix_long_double.h 14KB
gsl_odeiv2.h 14KB
gsl_eigen.h 14KB
gsl_matrix_ushort.h 14KB
gsl_matrix_complex_double.h 13KB
gsl_matrix_ulong.h 13KB
gsl_matrix_uchar.h 13KB
gsl_matrix_short.h 13KB
gsl_matrix_float.h 13KB
gsl_matrix_uint.h 13KB
gsl_matrix_long.h 13KB
gsl_matrix_char.h 13KB
gsl_matrix_int.h 13KB
gsl_matrix_double.h 12KB
gsl_integration.h 12KB
gsl_vector_complex_long_double.h 11KB
gsl_vector_complex_float.h 10KB
gsl_randist.h 10KB
gsl_sf_legendre.h 9KB
gsl_vector_long_double.h 9KB
gsl_vector_complex_double.h 9KB
gsl_sf_gamma.h 8KB
gsl_vector_ushort.h 8KB
gsl_vector_uchar.h 8KB
gsl_vector_ulong.h 8KB
gsl_cdf.h 8KB
gsl_odeiv.h 8KB
gsl_vector_uint.h 8KB
gsl_vector_float.h 8KB
gsl_vector_short.h 8KB
gsl_statistics_long_double.h 8KB
gsl_vector_long.h 8KB
gsl_vector_char.h 8KB
gsl_vector_int.h 8KB
gsl_vector_double.h 7KB
gsl_rng.h 7KB
gsl_statistics_float.h 7KB
gsl_interp.h 7KB
gsl_multimin.h 7KB
gsl_const_mksa.h 7KB
gsl_statistics_double.h 7KB
gsl_const_mks.h 7KB
gsl_const_cgsm.h 7KB
gsl_complex_math.h 7KB
gsl_multiroots.h 7KB
gsl_const_cgs.h 6KB
gsl_histogram2d.h 6KB
gsl_errno.h 6KB
gsl_multifit_nlin.h 6KB
gsl_sum.h 6KB
gsl_fft_complex_float.h 6KB
gsl_poly.h 6KB
gsl_statistics_ushort.h 5KB
gsl_statistics_uchar.h 5KB
gsl_statistics_ulong.h 5KB
gsl_statistics_uint.h 5KB
gsl_fft_complex.h 5KB
gsl_statistics_short.h 5KB
gsl_statistics_char.h 5KB
gsl_statistics_long.h 5KB
gsl_sf_hyperg.h 5KB
gsl_sf_expint.h 5KB
gsl_statistics_int.h 5KB
gsl_chebyshev.h 5KB
gsl_sf_coulomb.h 5KB
gsl_histogram.h 5KB
gsl_math.h 5KB
gsl_sf_ellint.h 5KB
gsl_wavelet2d.h 5KB
gsl_sf_coupling.h 5KB
gsl_sf_dilog.h 4KB
gsl_multifit.h 4KB
gsl_sf_trig.h 4KB
gsl_min.h 4KB
gsl_sf_mathieu.h 4KB
gsl_sf_exp.h 4KB
gsl_sf_airy.h 4KB
gsl_roots.h 4KB
gsl_machine.h 4KB
gsl_bspline.h 4KB
gsl_sf_fermi_dirac.h 4KB
gsl_permutation.h 4KB
gsl_complex.h 4KB
gsl_monte_vegas.h 4KB
gsl_fft_halfcomplex_float.h 4KB
gsl_wavelet.h 4KB
gsl_fft_halfcomplex.h 3KB
gsl_sf_zeta.h 3KB
gsl_siman.h 3KB
gsl_combination.h 3KB
gsl_multiset.h 3KB
gsl_spline.h 3KB
gsl_block_complex_long_double.h 3KB
共 241 条
- 1
- 2
- 3
资源评论
- zryjasan2013-10-18配置不成功 不知道为什么
- zouzouatdncs2013-09-11下了两次下来都解压报错,解压出来的vc配置的,没用
- nuehao1112015-04-17配置不成功,看看说明文档参考参考就算了
- bolk9032015-09-20配置不成功,准备改为其他版本
xy_xin
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- SSCMS登录模块需要的JS文件
- JSP网络购物中心毕业设计(源代码+论文).rar
- 白盒测试报告.docx
- 基于LM5117芯片评估开发板硬件参考设计(原理图+PCB)+中英文数据手册资料.zip
- 照片批量重命名软件(文件批量修改图片文件名)
- app.apk
- 人工智能(AI)是计算机科学的一个分支,旨在开发和应用能够模拟、延伸和扩展人类智能的理论、方法和技术,包括机器人、语言识别、图像
- 嵌入式与物联网开发是当今信息技术领域的两大重要分支,它们相互交织,共同推动着智能化时代的进步 嵌入式开发主要关注在嵌入式操作
- 网络安全,这一看似高深莫测的领域,实则与我们每个人的生活息息相关
- 毕业设计基于深度学习的视觉问答系统源码+文档说明+答辩PPT.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功