C source code for solving determinant maximization problems. More...
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <math.h>
#include "lapack_wrappers.h"
#include "maxdet.h"
Go to the source code of this file.
Functions | |
void | disp_imat (FILE *fp, int *ip, int r, int c, int att) |
void | disp_mat (FILE *fp, double *dp, int r, int c, int att) |
double | eig_val (double *sig, double *ap, int L, int *blck_szs, int Npd, double *work) |
double | inprd (double *X, double *Z, int L, int *blck_szs) |
int | maxdet (int m, int L, double *F, int *F_blkszs, int K, double *G, int *G_blkszs, double *c, double *x, double *Z, double *W, double *ul, double *hist, double gamma, double abstol, double reltol, int *NTiters, double *work, int lwork, int *iwork, int *info, int negativeFlag) |
void | mydlascl (double from, double to, int m, int n, double *A) |
C source code for solving determinant maximization problems.
Definition in file maxdet_src.cpp.
void disp_imat | ( | FILE * | fp, | |
int * | ip, | |||
int | r, | |||
int | c, | |||
int | att | |||
) |
Definition at line 49 of file maxdet_src.cpp.
void disp_mat | ( | FILE * | fp, | |
double * | dp, | |||
int | r, | |||
int | c, | |||
int | att | |||
) |
Definition at line 66 of file maxdet_src.cpp.
double eig_val | ( | double * | sig, | |
double * | ap, | |||
int | L, | |||
int * | blck_szs, | |||
int | Npd, | |||
double * | work | |||
) |
Definition at line 155 of file maxdet_src.cpp.
double inprd | ( | double * | X, | |
double * | Z, | |||
int | L, | |||
int * | blck_szs | |||
) |
Definition at line 110 of file maxdet_src.cpp.
int maxdet | ( | int | m, | |
int | L, | |||
double * | F, | |||
int * | F_blkszs, | |||
int | K, | |||
double * | G, | |||
int * | G_blkszs, | |||
double * | c, | |||
double * | x, | |||
double * | Z, | |||
double * | W, | |||
double * | ul, | |||
double * | hist, | |||
double | gamma, | |||
double | abstol, | |||
double | reltol, | |||
int * | NTiters, | |||
double * | work, | |||
int | lwork, | |||
int * | iwork, | |||
int * | info, | |||
int | negativeFlag | |||
) |
Definition at line 215 of file maxdet_src.cpp.
void mydlascl | ( | double | from, | |
double | to, | |||
int | m, | |||
int | n, | |||
double * | A | |||
) |
Definition at line 37 of file maxdet_src.cpp.