![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Linear algebraic operations for dBSRmat matrices. More...
Go to the source code of this file.
Functions | |
| SHORT | fasp_blas_dbsr_add (const dBSRmat *A, const REAL alpha, const dBSRmat *B, const REAL beta, dBSRmat *C) |
| compute C = alpha*A + beta*B in BSR format More... | |
| void | fasp_blas_dbsr_axm (dBSRmat *A, const REAL alpha) |
| Multiply a sparse matrix A in BSR format by a scalar alpha. More... | |
| void | fasp_blas_dbsr_aAxpby (const REAL alpha, dBSRmat *A, REAL *x, const REAL beta, REAL *y) |
| Compute y := alpha*A*x + beta*y. More... | |
| void | fasp_blas_dbsr_aAxpy (const REAL alpha, const dBSRmat *A, const REAL *x, REAL *y) |
| Compute y := alpha*A*x + y. More... | |
| void | fasp_blas_dbsr_aAxpy_agg (const REAL alpha, const dBSRmat *A, const REAL *x, REAL *y) |
| Compute y := alpha*A*x + y where each small block matrix is an identity matrix. More... | |
| void | fasp_blas_dbsr_mxv (const dBSRmat *A, const REAL *x, REAL *y) |
| Compute y := A*x. More... | |
| void | fasp_blas_dbsr_mxv_agg (const dBSRmat *A, const REAL *x, REAL *y) |
| Compute y := A*x, where each small block matrices of A is an identity. More... | |
| void | fasp_blas_dbsr_mxm2 (const dBSRmat *A, const dBSRmat *B, dBSRmat *C) |
| Sparse matrix multiplication C=A*B. More... | |
| void | fasp_blas_dbsr_mxm (const dBSRmat *A, const dBSRmat *B, dBSRmat *C) |
| Sparse matrix multiplication C=A*B. More... | |
| void | fasp_blas_dbsr_mxm_adb (const dBSRmat *A, dvector *D, const dBSRmat *B, dBSRmat *C) |
| Sparse matrix multiplication C=A*D*B, where D is diagnal matrix. More... | |
| void | fasp_blas_dbsr_schur (dvector *D2, const dBSRmat *A, dvector *D1, const dBSRmat *B, dBSRmat *C) |
| void | fasp_blas_dbsr_rap1 (const dBSRmat *R, const dBSRmat *A, const dBSRmat *P, dBSRmat *B) |
| dBSRmat sparse matrix multiplication B=R*A*P More... | |
| void | fasp_blas_dbsr_rap (const dBSRmat *R, const dBSRmat *A, const dBSRmat *P, dBSRmat *B) |
| dBSRmat sparse matrix multiplication B=R*A*P More... | |
| void | fasp_blas_dbsr_rap_agg (const dBSRmat *R, const dBSRmat *A, const dBSRmat *P, dBSRmat *B) |
| dBSRmat sparse matrix multiplication B=R*A*P, where small block matrices in P and R are identity matrices! More... | |
Linear algebraic operations for dBSRmat matrices.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file BlaSpmvBSR.c.
Compute y := alpha*A*x + beta*y.
| alpha | REAL factor alpha |
| A | Pointer to the dBSRmat matrix |
| x | Pointer to the array x |
| beta | REAL factor beta |
| y | Pointer to the array y |
Modified by Chunsheng Feng, Zheng Li on 06/29/2012
Definition at line 243 of file BlaSpmvBSR.c.
Compute y := alpha*A*x + y.
| alpha | REAL factor alpha |
| A | Pointer to the dBSRmat matrix |
| x | Pointer to the array x |
| y | Pointer to the array y |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 514 of file BlaSpmvBSR.c.
Compute y := alpha*A*x + y where each small block matrix is an identity matrix.
| alpha | REAL factor alpha |
| A | Pointer to the dBSRmat matrix |
| x | Pointer to the array x |
| y | Pointer to the array y |
Definition at line 778 of file BlaSpmvBSR.c.
| SHORT fasp_blas_dbsr_add | ( | const dBSRmat * | A, |
| const REAL | alpha, | ||
| const dBSRmat * | B, | ||
| const REAL | beta, | ||
| dBSRmat * | C | ||
| ) |
compute C = alpha*A + beta*B in BSR format
| A | Pointer to dBSRmat matrix |
| alpha | REAL factor alpha |
| B | Pointer to dBSRmat matrix |
| beta | REAL factor beta |
| C | Pointer to dBSRmat matrix |
Definition at line 45 of file BlaSpmvBSR.c.
Multiply a sparse matrix A in BSR format by a scalar alpha.
| A | Pointer to dBSRmat matrix A |
| alpha | REAL factor alpha |
Definition at line 215 of file BlaSpmvBSR.c.
Sparse matrix multiplication C=A*B.
| A | Pointer to the dBSRmat matrix A |
| B | Pointer to the dBSRmat matrix B |
| C | Pointer to dBSRmat matrix equal to A*B |
Definition at line 4883 of file BlaSpmvBSR.c.
Sparse matrix multiplication C=A*B.
| A | Pointer to the dBSRmat matrix A |
| B | Pointer to the dBSRmat matrix B |
| C | Pointer to dBSRmat matrix equal to A*B |
Definition at line 4760 of file BlaSpmvBSR.c.
Sparse matrix multiplication C=A*D*B, where D is diagnal matrix.
| A | Pointer to the dBSRmat matrix A |
| D | Pointer to the block diagnal matrix D |
| B | Pointer to the dBSRmat matrix B |
| C | Pointer to dBSRmat matrix equal to A*D*B |
Definition at line 4997 of file BlaSpmvBSR.c.
Compute y := A*x.
| A | Pointer to the dBSRmat matrix |
| x | Pointer to the array x |
| y | Pointer to the array y |
Modified by Chunsheng Feng, Xiaoqiang Yue on 05/23/2012
Definition at line 1055 of file BlaSpmvBSR.c.
Compute y := A*x, where each small block matrices of A is an identity.
| A | Pointer to the dBSRmat matrix |
| x | Pointer to the array x |
| y | Pointer to the array y |
Definition at line 2815 of file BlaSpmvBSR.c.
dBSRmat sparse matrix multiplication B=R*A*P
| R | Pointer to the dBSRmat matrix |
| A | Pointer to the dBSRmat matrix |
| P | Pointer to the dBSRmat matrix |
| B | Pointer to dBSRmat matrix equal to R*A*P (output) |
Definition at line 5466 of file BlaSpmvBSR.c.
dBSRmat sparse matrix multiplication B=R*A*P
| R | Pointer to the dBSRmat matrix |
| A | Pointer to the dBSRmat matrix |
| P | Pointer to the dBSRmat matrix |
| B | Pointer to dBSRmat matrix equal to R*A*P (output) |
Definition at line 5255 of file BlaSpmvBSR.c.
| void fasp_blas_dbsr_rap_agg | ( | const dBSRmat * | R, |
| const dBSRmat * | A, | ||
| const dBSRmat * | P, | ||
| dBSRmat * | B | ||
| ) |
dBSRmat sparse matrix multiplication B=R*A*P, where small block matrices in P and R are identity matrices!
| R | Pointer to the dBSRmat matrix |
| A | Pointer to the dBSRmat matrix |
| P | Pointer to the dBSRmat matrix |
| B | Pointer to dBSRmat matrix equal to R*A*P (output) |
Definition at line 5739 of file BlaSpmvBSR.c.