LADEL main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
Functions
ladel_matvec.h File Reference

Detailed Description

Routines to compute matrix vector products.

Author
Ben Hermans

Definition in file ladel_matvec.h.

#include "ladel_global.h"
#include "ladel_types.h"
+ Include dependency graph for ladel_matvec.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ladel_matvec (const ladel_sparse_matrix *M, const ladel_double *x, ladel_double *y, ladel_int reset)
 Computes \(y = Mx\) or \(y += Mx\) (for reset==TRUE of FALSE respectively). More...
 
void ladel_tpose_matvec (const ladel_sparse_matrix *M, const ladel_double *x, ladel_double *y, ladel_int reset)
 Computes \(y = M^Tx\) or \(y += M^Tx\) (for reset==TRUE of FALSE respectively). More...
 
void ladel_symmetric_matvec (const ladel_sparse_matrix *M, const ladel_double *x, ladel_double *y, ladel_int reset)
 Computes (for a symmetric matrix M) \(y = Mx\) or \(y += Mx\) (for reset==TRUE of FALSE respectively). More...
 

Function Documentation

◆ ladel_matvec()

void ladel_matvec ( const ladel_sparse_matrix M,
const ladel_double x,
ladel_double y,
ladel_int  reset 
)

Computes \(y = Mx\) or \(y += Mx\) (for reset==TRUE of FALSE respectively).

Parameters
MMatrix
xVector
yResulting matrix vector product
resetIf TRUE, y is first set to zero before adding \(Mx\)

Definition at line 5 of file ladel_matvec.c.

◆ ladel_symmetric_matvec()

void ladel_symmetric_matvec ( const ladel_sparse_matrix M,
const ladel_double x,
ladel_double y,
ladel_int  reset 
)

Computes (for a symmetric matrix M) \(y = Mx\) or \(y += Mx\) (for reset==TRUE of FALSE respectively).

Parameters
MSymmetric Matrix (M->symmetry==UPPER or LOWER)
xVector
yResulting matrix vector product
resetIf TRUE, y is first set to zero before adding \(Mx\)

Definition at line 27 of file ladel_matvec.c.

+ Here is the call graph for this function:

◆ ladel_tpose_matvec()

void ladel_tpose_matvec ( const ladel_sparse_matrix M,
const ladel_double x,
ladel_double y,
ladel_int  reset 
)

Computes \(y = M^Tx\) or \(y += M^Tx\) (for reset==TRUE of FALSE respectively).

Parameters
MMatrix
xVector
yResulting matrix vector product
resetIf TRUE, y is first set to zero before adding \(M^Tx\)

Definition at line 16 of file ladel_matvec.c.

+ Here is the caller graph for this function: