Loading [MathJax]/extensions/tex2jax.js
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
VecNormType
Norm type. Not declared as class type in order to use the members as integers.
Definition: LinAlgEnums.h:22
std::string convertVecNormTypeToString(VecNormType normType)
convert VecNormType to string
Definition: LinAlgEnums.cpp:17
VecNormType convertStringToVecNormType(const std::string &str)
convert string to VecNormType
Definition: LinAlgEnums.cpp:32