Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
blas_str.c File Reference

BLAS2 operations for dSTRmat matrices. More...

#include <math.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

void fasp_blas_dstr_aAxpy (const REAL alpha, dSTRmat *A, REAL *x, REAL *y)
 Matrix-vector multiplication y = alpha*A*x + y. More...
 
void fasp_blas_dstr_mxv (dSTRmat *A, REAL *x, REAL *y)
 Matrix-vector multiplication y = A*x. More...
 
INT fasp_dstr_diagscale (dSTRmat *A, dSTRmat *B)
 B=D^{-1}A. More...
 

Detailed Description

BLAS2 operations for dSTRmat matrices.

Definition in file blas_str.c.

Function Documentation

void fasp_blas_dstr_aAxpy ( const REAL  alpha,
dSTRmat A,
REAL x,
REAL y 
)

Matrix-vector multiplication y = alpha*A*x + y.

Parameters
alphaREAL factor alpha
APointer to dSTRmat matrix
xPointer to REAL array
yPointer to REAL array
Author
Zhiyang Zhou, Xiaozhe Hu, Shiquan Zhang
Date
2010/10/15

Definition at line 47 of file blas_str.c.

void fasp_blas_dstr_mxv ( dSTRmat A,
REAL x,
REAL y 
)

Matrix-vector multiplication y = A*x.

Parameters
APointer to dSTRmat matrix
xPointer to REAL array
yPointer to REAL array
Author
Chensong Zhang
Date
04/27/2013

Definition at line 117 of file blas_str.c.

INT fasp_dstr_diagscale ( dSTRmat A,
dSTRmat B 
)

B=D^{-1}A.

Parameters
APointer to a 'dSTRmat' type matrix A
BPointer to a 'dSTRmat' type matrix B
Author
Shiquan Zhang
Date
2010/10/15

Modified by Chunsheng Feng, Zheng Li

Date
08/30/2012

Definition at line 142 of file blas_str.c.