![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
BLAS
文章平均质量分 60
cocoonyang
这个作者很懒,什么都没留下…
展开
-
学习BLAS库 -- AXPY
函数语法: saxpy(int n,float sa, float x[],int incx, float y[], int incy)功能: AXPY是 BLAS 中 第1级函数。AXPY计算向量的数乘运算和向量的加法运算。| Y | | X | | Y || Y | | X | | Y || Y | = sa | X | +...原创 2017-02-12 16:29:06 · 5376 阅读 · 1 评论 -
学习BLAS库 -- BLAS库简介
BLAS(Basic Linear Algebra Subprograms)是一组线性代数计算中通用的基本运算操作函数集合[1]。BLAS Technical (BLAST) Forum负责规范BLAS函数接口,并在网站[1]公布一个由Fortran语言编写的BLAS库。这个Fortran版BLAS库通常被称为BLAS参考库(the reference implementation)。 BLA...原创 2017-03-18 01:51:16 · 25247 阅读 · 1 评论 -
Solving linear equation systems
现代数值计算方法一般都会转化为求解线性方程组. 线性方程组的矩阵形式如下所示:[A][x]=[b][A][x]=[b][A][x]=[b]其中 AAA 是 m×nm×nm \times n 矩阵,m≥nm≥nm \ge n, x∈Rnx∈Rnx \in R^{n}, b∈Rmb∈Rmb\in R^{m}. 由于求解线性方程组在数值分析中基础性核心地位, 线性方程组求解算法和技术一直层...原创 2017-11-17 19:35:59 · 558 阅读 · 1 评论 -
学习BLAS库 -- COPY
函数语法: XCOPY( N, X, INCX, Y, INCY)功能: COPY copies a vector X to a vector Y. BLAS level 1 function参数: Input, int N, the number of elements in DX and DY. Input, double ...原创 2017-03-17 22:17:42 · 979 阅读 · 1 评论 -
学习BLAS库 -- ASUM
函数语法: XASUM( N, X, INCX)功能: ASUM 是 BLAS 中 第1层函数。ASUM函数计算一个向量中所有元素绝对值的累加和( Calculating summary of element absolute value of a vector).参数: Input, int N, the number of entries in the vector. ...原创 2017-03-17 21:57:49 · 2260 阅读 · 1 评论 -
学习BLAS库 -- GEMM
函数语法: SGEMM( TRANSA, TRANSB, M, N, K, ALPHA, A, LDA, B, LDB, BETA, C, LDC) 功能:matrix matrix multiply ( row major order)| C C C C C | | A A A | | C C C C C | ...原创 2017-03-04 13:58:48 · 9961 阅读 · 5 评论 -
学习BLAS库 -- LAPACK
在Windows的Visual Studio环境中安装与使用CLAPACK原创 2017-10-04 17:36:59 · 5416 阅读 · 1 评论 -
LU Decomposition
“Let A be a square matrix. An LU factorization refers to the factorization of A, with proper row and/or column orderings or permutations, into two factors, a lower triangular matrix L and an upper tria原创 2017-11-19 10:12:03 · 548 阅读 · 0 评论 -
学习BLAS库 -- GER
函数语法: XGER( M, N, ALPHA, X, INCX, Y, INCY, A, LDA)功能: GER performs the rank 1 operation A := alpha*x*y' + A,C语言版SGERC programming language version of SGER method withro...原创 2017-03-08 15:52:22 · 926 阅读 · 1 评论 -
学习BLAS库 -- DTRSM
函数语法: XTRSM(SIDE, UPLD, TRANSA, DIAG, M, N, ALPHA, A, LDA, B, LDB)功能: Solves one of the matrix equations op( A )*X = alpha*B, or X*op( A ) = alpha*B, where alpha is a scalar, X and B are...转载 2015-08-07 00:09:06 · 2708 阅读 · 0 评论 -
学习BLAS库 -- GEMV
函数语法: XGEMV( TRANS, M, N, ALPHA, A, LDA, X, INCX, BETA, Y, INCY)功能: matrix vector multiply BLAS level 2 functionC语言版(f2c)DGEMV源代码:/* -- translated by f2c (version 19940927). You must lin...原创 2017-02-12 10:37:27 · 5682 阅读 · 1 评论 -
学习BLAS库 -- DOT
函数语法: XDOT( N, X, INCX, Y, INCY)功能:Computes the dot product of two vectors.dot <- X^{T}Y参数: X: S(single float), D(double float), DS N: vector dimension X: vector xINCX: spacing b...原创 2015-08-06 21:59:33 · 6056 阅读 · 1 评论 -
学习BLAS库 -- ROT
函数语法: XROT( N, X, INCX, Y, INCY, C, S)功能: Apply a plane rotation BLAS level 1 function参数: X: S(single float), D(double float), C(complex), Z(complex*16) N: vector dimension X:...原创 2017-03-17 22:10:18 · 846 阅读 · 1 评论 -
学习BLAS库 -- TRMV
函数语法: XTRMV( UPLO, TRANS, DIAG, A, LDA, X, INCX)功能: Triangular matrix vector multiply Open BLAS trmv methods testing benchmark//// TRMV x <- Ax///* * void cblas_strmv( O...原创 2017-02-12 14:18:57 · 858 阅读 · 0 评论 -
学习BLAS库 -- Conjugate Gradient Method
implementating conjugate gradient method based on BLASlibrary.原创 2017-02-13 11:13:31 · 529 阅读 · 1 评论 -
QR分解法(QR decomposition)
QR decomposition divides a m by n matrix AAA into a product of an orthogonal matrix QQQ and an upper triangular matrix RRR:A=QRA=QR A = Q R Thus Ax=b=>QRx=b=>QTQRx=QTb=>Rx=QTbAx=b=>...原创 2017-11-19 10:08:09 · 5400 阅读 · 0 评论