OGS
LinAlgEnums.h
Go to the documentation of this file.
1
13
#pragma once
14
15
#include <string>
16
17
namespace
MathLib
18
{
19
21
enum class
VecNormType
22
{
23
NORM1
,
24
NORM2
,
25
INFINITY_N
,
26
INVALID
27
};
28
30
std::string
convertVecNormTypeToString
(
VecNormType
normType);
31
33
VecNormType
convertStringToVecNormType
(
const
std::string &str);
34
35
}
// end namespace MathLib
MathLib
Definition:
CreateComponent.h:32
MathLib::VecNormType
VecNormType
Norm type. Not declared as class type in order to use the members as integers.
Definition:
LinAlgEnums.h:22
MathLib::VecNormType::NORM2
@ NORM2
MathLib::VecNormType::NORM1
@ NORM1
MathLib::VecNormType::INVALID
@ INVALID
MathLib::VecNormType::INFINITY_N
@ INFINITY_N
MathLib::convertVecNormTypeToString
std::string convertVecNormTypeToString(VecNormType normType)
convert VecNormType to string
Definition:
LinAlgEnums.cpp:17
MathLib::convertStringToVecNormType
VecNormType convertStringToVecNormType(const std::string &str)
convert string to VecNormType
Definition:
LinAlgEnums.cpp:32
MathLib
LinAlg
LinAlgEnums.h
Generated by
1.9.6