STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
zrsdd.c File Reference
#include "common.h"
#include "starsh.h"
Include dependency graph for zrsdd.c:

Functions

double * starsh_dense_zlrrsdd (int nrows, int ncols, double _Complex *D, int ldD, double _Complex *U, int ldU, double _Complex *V, int ldV, int *rank, int maxrank, int oversample, double tol, double _Complex *work, int lwork, int *iwork)
 Randomized SVD approximation of a dense double precision matrix. More...
 

Detailed Description

STARS-H is a software package, provided by King Abdullah University of Science and Technology (KAUST)

Version
0.3.0
Author
Rabab Alomairy
Kadir Akbudak
Aleksandr Mikhalev
Date
2020-06-07

Function Documentation

◆ starsh_dense_zlrrsdd()

double* starsh_dense_zlrrsdd ( int  nrows,
int  ncols,
double _Complex *  D,
int  ldD,
double _Complex *  U,
int  ldU,
double _Complex *  V,
int  ldV,
int *  rank,
int  maxrank,
int  oversample,
double  tol,
double _Complex *  work,
int  lwork,
int *  iwork 
)

Randomized SVD approximation of a dense double precision matrix.

This function calls LAPACK and BLAS routines, so integer types are int instead of STARSH_int.

Parameters
[in]nrowsNumber of rows of a matrix.
[in]ncolsNumber of columns of a matrix.
[in,out]DPointer to dense matrix.
[in]ldDleading dimensions of D.
[out]UPointer to low-rank factor U.
[in]ldUleading dimensions of U.
[out]VPointer to low-rank factor V.
[in]ldVleading dimensions of V.
[out]rankAddress of rank variable.
[in]maxrankMaximum possible rank.
[in]oversampleSize of oversampling subset.
[in]tolRelative error for approximation.
[in]workWorking array.
[in]lworkSize of work array.
[in]iworkTemporary integer array.