Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
BlaSpmvSTR.c File Reference

Linear algebraic 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, const dSTRmat *A, const REAL *x, REAL *y)
 Matrix-vector multiplication y = alpha*A*x + y. More...
 
void fasp_blas_dstr_mxv (const dSTRmat *A, const REAL *x, REAL *y)
 Matrix-vector multiplication y = A*x. More...
 
INT fasp_blas_dstr_diagscale (const dSTRmat *A, dSTRmat *B)
 B=D^{-1}A. More...
 

Detailed Description

Linear algebraic operations for dSTRmat matrices.

Note
This file contains Level-1 (Bla) functions. It requires: AuxArray.c, AuxMemory.c, AuxThreads.c, BlaSmallMatInv.c, BlaSmallMat.c, and BlaSparseSTR.c

Copyright (C) 2009–Present by the FASP team. All rights reserved.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file BlaSpmvSTR.c.

Function Documentation

◆ fasp_blas_dstr_aAxpy()

void fasp_blas_dstr_aAxpy ( const REAL  alpha,
const dSTRmat A,
const 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 61 of file BlaSpmvSTR.c.

◆ fasp_blas_dstr_diagscale()

INT fasp_blas_dstr_diagscale ( const 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 on 08/30/2012

Definition at line 155 of file BlaSpmvSTR.c.

◆ fasp_blas_dstr_mxv()

void fasp_blas_dstr_mxv ( const dSTRmat A,
const 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 131 of file BlaSpmvSTR.c.