/* 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 2 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__
#include <stddef.h>
#include <gsl/gsl_types.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)
* ===========================================================================
*/
GSL_EXPORT float cblas_sdsdot(const int N, const float alpha, const float *X,
const int incX, const float *Y, const int incY);
GSL_EXPORT double cblas_dsdot(const int N, const float *X, const int incX, const float *Y,
const int incY);
GSL_EXPORT float cblas_sdot(const int N, const float *X, const int incX,
const float *Y, const int incY);
GSL_EXPORT 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
*/
GSL_EXPORT void cblas_cdotu_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotu);
GSL_EXPORT void cblas_cdotc_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotc);
GSL_EXPORT void cblas_zdotu_sub(const int N, const void *X, const int incX,
const void *Y, const int incY, void *dotu);
GSL_EXPORT 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
*/
GSL_EXPORT float cblas_snrm2(const int N, const float *X, const int incX);
GSL_EXPORT float cblas_sasum(const int N, const float *X, const int incX);
GSL_EXPORT double cblas_dnrm2(const int N, const double *X, const int incX);
GSL_EXPORT double cblas_dasum(const int N, const double *X, const int incX);
GSL_EXPORT float cblas_scnrm2(const int N, const void *X, const int incX);
GSL_EXPORT float cblas_scasum(const int N, const void *X, const int incX);
GSL_EXPORT double cblas_dznrm2(const int N, const void *X, const int incX);
GSL_EXPORT double cblas_dzasum(const int N, const void *X, const int incX);
/*
* Functions having standard 4 prefixes (S D C Z)
*/
GSL_EXPORT CBLAS_INDEX cblas_isamax(const int N, const float *X, const int incX);
GSL_EXPORT CBLAS_INDEX cblas_idamax(const int N, const double *X, const int incX);
GSL_EXPORT CBLAS_INDEX cblas_icamax(const int N, const void *X, const int incX);
GSL_EXPORT 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)
*/
GSL_EXPORT void cblas_sswap(const int N, float *X, const int incX,
float *Y, const int incY);
GSL_EXPORT void cblas_scopy(const int N, const float *X, const int incX,
float *Y, const int incY);
GSL_EXPORT void cblas_saxpy(const int N, const float alpha, const float *X,
const int incX, float *Y, const int incY);
GSL_EXPORT void cblas_dswap(const int N, double *X, const int incX,
double *Y, const int incY);
GSL_EXPORT void cblas_dcopy(const int N, const double *X, const int incX,
double *Y, const int incY);
GSL_EXPORT void cblas_daxpy(const int N, const double alpha, const double *X,
const int incX, double *Y, const int incY);
GSL_EXPORT void cblas_cswap(const int N, void *X, const int incX,
void *Y, const int incY);
GSL_EXPORT void cblas_ccopy(const int N, const void *X, const int incX,
void *Y, const int incY);
GSL_EXPORT void cblas_caxpy(const int N, const void *alpha, const void *X,
const int incX, void *Y, const int incY);
GSL_EXPORT void cblas_zswap(const int N, void *X, const int incX,
void *Y, const int incY);
GSL_EXPORT void cblas_zcopy(const int N, const void *X, const int incX,
void *Y, const int incY);
GSL_EXPORT 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
*/
GSL_EXPORT void cblas_srotg(float *a, float *b, float *c, float *s);
GSL_EXPORT void cblas_srotmg(float *d1, float *d2, float *b1, const float b2, float *P);
GSL_EXPORT void cblas_srot(const int N, float *X, const int incX,
float *Y, const int incY, const float c, const float s);
GSL_EXPORT void cblas_srotm(const int N, float *X, const int incX,
float *Y, const int incY, const float *P);
GSL_EXPORT void cblas_drotg(double *a, double *b, double *c, double *s);
GSL_EXPORT void cblas_drotmg(double *d1, double *d2, double *b1, const double b2, double *P);
GSL_EXPORT void cblas_drot(const int N, double *X, const int incX,
double *Y, const int incY, const double c, const double s);
GSL_EXPORT 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
*/
GSL_EXPORT void cblas_sscal(const int N, const float alpha, float *X, const int incX);
GSL_EXPORT void cblas_dscal(const int N, const double alpha, double *X, const int incX);
GSL_EXPORT void cblas_cscal(const int N, const void *alpha, void *X, const int incX);
GSL_EXPORT void cblas_zscal(const int N, const void *alpha, void *X, const int incX);
GSL_EXPORT void cblas_csscal(const int N, const float alpha, void *X, const int incX);
GSL_EXPORT 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)
*/
GSL_EXPORT void cblas_sgemv(const enum CBLAS_ORDER order,
const enum CBLAS_TRANSPOSE TransA, const int
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
QWidget和GSL科学库配置 Demo (448个子文件)
widget.cpp 405B
main.cpp 336B
main.cpp 175B
libgsl.dll 1.73MB
libgsl.dll 1.73MB
libgslcblas.dll 225KB
libgslcblas.dll 225KB
gsl_cblas.h 38KB
gsl_cblas.h 38KB
gsl_blas.h 26KB
gsl_blas.h 26KB
gsl_linalg.h 22KB
gsl_linalg.h 22KB
gsl_sf_bessel.h 15KB
gsl_sf_bessel.h 15KB
gsl_matrix_complex_long_double.h 13KB
gsl_matrix_complex_long_double.h 13KB
gsl_matrix_long_double.h 12KB
gsl_matrix_long_double.h 12KB
gsl_matrix_complex_float.h 12KB
gsl_matrix_complex_float.h 12KB
gsl_matrix_ushort.h 12KB
gsl_matrix_ushort.h 12KB
gsl_matrix_uchar.h 11KB
gsl_matrix_uchar.h 11KB
gsl_matrix_ulong.h 11KB
gsl_matrix_ulong.h 11KB
gsl_matrix_float.h 11KB
gsl_matrix_float.h 11KB
gsl_matrix_short.h 11KB
gsl_matrix_short.h 11KB
gsl_matrix_complex_double.h 11KB
gsl_matrix_complex_double.h 11KB
gsl_matrix_uint.h 11KB
gsl_matrix_uint.h 11KB
gsl_matrix_long.h 11KB
gsl_matrix_long.h 11KB
gsl_matrix_char.h 11KB
gsl_matrix_char.h 11KB
gsl_matrix_int.h 11KB
gsl_matrix_int.h 11KB
gsl_matrix_double.h 10KB
gsl_matrix_double.h 10KB
gsl_integration.h 10KB
gsl_integration.h 10KB
gsl_randist.h 9KB
gsl_randist.h 9KB
gsl_sf_legendre.h 9KB
gsl_sf_legendre.h 9KB
gsl_vector_complex_long_double.h 9KB
gsl_vector_complex_long_double.h 9KB
gsl_vector_long_double.h 8KB
gsl_vector_long_double.h 8KB
gsl_vector_complex_float.h 8KB
gsl_vector_complex_float.h 8KB
gsl_cdf.h 8KB
gsl_cdf.h 8KB
gsl_sf_gamma.h 8KB
gsl_sf_gamma.h 8KB
gsl_odeiv.h 8KB
gsl_odeiv.h 8KB
config.h 8KB
config.h 8KB
gsl_vector_ushort.h 8KB
gsl_vector_ushort.h 8KB
gsl_vector_ulong.h 8KB
gsl_vector_ulong.h 8KB
gsl_vector_uchar.h 8KB
gsl_vector_uchar.h 8KB
gsl_vector_complex_double.h 8KB
gsl_vector_complex_double.h 8KB
gsl_vector_uint.h 7KB
gsl_vector_uint.h 7KB
gsl_vector_short.h 7KB
gsl_vector_float.h 7KB
gsl_vector_short.h 7KB
gsl_vector_float.h 7KB
gsl_vector_char.h 7KB
gsl_vector_long.h 7KB
gsl_vector_char.h 7KB
gsl_vector_long.h 7KB
gsl_statistics_long_double.h 7KB
gsl_statistics_long_double.h 7KB
gsl_vector_int.h 7KB
gsl_vector_int.h 7KB
gsl_const_mksa.h 7KB
gsl_const_mksa.h 7KB
gsl_rng.h 7KB
gsl_rng.h 7KB
gsl_const_mks.h 7KB
gsl_const_mks.h 7KB
gsl_vector_double.h 7KB
gsl_vector_double.h 7KB
gsl_const_cgsm.h 7KB
gsl_const_cgsm.h 7KB
gsl_multimin.h 7KB
gsl_multimin.h 7KB
gsl_statistics_float.h 7KB
gsl_statistics_float.h 7KB
gsl_const_cgs.h 7KB
共 448 条
- 1
- 2
- 3
- 4
- 5
资源评论
吵吵博士
- 粉丝: 20
- 资源: 42
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 词向量-中文文本相似度计算-采用text2vec词向量工具进行计算对比.zip
- 521293804316625base(1).apk
- ARP IP地址分类及特殊IP
- 【MySQL补丁】vcredist-x64xz MySQL必备插件
- 基于SG3525芯片PWM控制推挽隔离DCDC电源模块AD09设计硬件(原理图+PCB)工程文件.zip
- Word_20240428_092324.docx
- cloudcc_v1.1.10-release_sign.apk
- 基于javaweb(jsp)实现的图书购物网站,基于JSP(MVC模式)和MySQL的网上图书购物系统
- fhdishfifdsf
- javassm源码上传图片功能
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功