GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
MatrixProperties.h
Go to the documentation of this file.
1
//
2
// MatrixProperties.hpp
3
// gpr_dimer
4
//
5
// Created by Maxim Masterov on 18/01/2021.
6
//
7
8
#ifndef MatrixProperties_hpp
9
#define MatrixProperties_hpp
10
11
#include "
../backend/Macros.h
"
12
13
namespace
math
{
17
class
MatrixProperties
{
18
public
:
22
bool
isDD
(
const
gpr::EigenMatrix
& Matrix);
23
27
bool
isPD
(
const
gpr::EigenMatrix
& Matrix);
28
32
bool
isPSD
(
const
gpr::EigenMatrix
& Matrix);
33
34
private
:
38
double
xTAx(
const
gpr::EigenMatrix
& Matrix);
39
};
40
}
// namespace math
41
42
#endif
/* MatrixProperties_hpp */
Macros.h
math::MatrixProperties
Contains methods for checking basic matrix properties.
Definition
MatrixProperties.h:17
math::MatrixProperties::isPD
bool isPD(const gpr::EigenMatrix &Matrix)
Return true if the given matrix is Positive Definite (PD).
Definition
MatrixProperties.cpp:40
math::MatrixProperties::isDD
bool isDD(const gpr::EigenMatrix &Matrix)
Return true if the given matrix is Diagonally Dominant (DD).
Definition
MatrixProperties.cpp:12
math::MatrixProperties::isPSD
bool isPSD(const gpr::EigenMatrix &Matrix)
Return true if the given matrix is Positive Semi-Definite (PSD).
Definition
MatrixProperties.cpp:45
gpr::EigenMatrix
Eigen::Matrix< double, EigenDynamic, EigenDynamic, EigenMatrixStorage > EigenMatrix
Definition
Macros.h:20
math
Definition
DistributionFunctions.cpp:10
backend
MatrixProperties.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf