npstat
is hosted by
Hepforge
,
IPPP Durham
Home
Subversion
Tracker
Wiki
NPStat
5.10.0
nm
SvdMethod.hh
Go to the documentation of this file.
1
#ifndef NPSTAT_SVDMETHOD_HH_
2
#define NPSTAT_SVDMETHOD_HH_
3
4
/*!
5
// \file SvdMethod.hh
6
//
7
// \brief Enumeration of LAPACK methods used to calculate
8
// singular value decompositions
9
//
10
// Author: I. Volobouev
11
//
12
// March 2014
13
*/
14
15
#include <string>
16
17
namespace
npstat
{
18
/**
19
// SVD_SIMPLE: use simple LAPACK driver for calculating SVD (such as DGESVD)
20
//
21
// SVD_D_AND_C: use divide and conquer LAPACK driver (such as DGESDD)
22
*/
23
enum
SvdMethod
24
{
25
SVD_SIMPLE = 0,
26
SVD_D_AND_C
27
};
28
29
/** Enums corresponding to method names */
30
SvdMethod
parseSvdMethod
(
const
char
* methodName);
31
32
/** Method names corresponding to enums */
33
const
char
*
svdMethodName
(
SvdMethod
m);
34
35
/** Valid method names for use in error messages, etc */
36
std::string
validSvdMethodNames
();
37
}
38
39
#endif
// NPSTAT_SVDMETHOD_HH_
npstat
Definition:
AbsArrayProjector.hh:14
npstat::SvdMethod
SvdMethod
Definition:
SvdMethod.hh:24
npstat::validSvdMethodNames
std::string validSvdMethodNames()
npstat::parseSvdMethod
SvdMethod parseSvdMethod(const char *methodName)
npstat::svdMethodName
const char * svdMethodName(SvdMethod m)
Generated by
1.9.1