tsaUtilityFunctions
-
namespace tsa
The main namespace of the library.
tsa namespace
namespace
tsa namespace
Tag()is a small XML-tag-name formatting helper, kept (and still bound to Python, see pytsa.cpp) even though its original caller — the DVECTOR_XML_SERIALIZE/DMATRIX_XML_SERIALIZE/BOOL_XML_SERIALIZE macros this file used to also define, wrapping the now-removedeternityXML persistence framework — is gone (see CerealPersistence.hpp for the modern replacement, plain Cerealserialize()members, no string tags needed).-
class ParseParameterString
- #include <tsaUtilityFunctions.hpp>
-
class MathUtils
- #include <tsaUtilityFunctions.hpp>
Public Static Functions
-
static inline unsigned int isqrt(unsigned long val)
Evaluate the integer square root of a number.
- Parameters:
val – input number
- Returns:
integer square root of val
-
static inline int gcd(int u, int v)
Find the great common divisor between two numbers u and v
- Parameters:
u – first number
v – second number
- Returns:
the great common divisor between u and v
-
static inline int max(int u, int v)
-
static inline int min(int u, int v)
-
static inline unsigned int isqrt(unsigned long val)
-
class UpperTriangular
- #include <tsaUtilityFunctions.hpp>
-
class LowerTriangular
- #include <tsaUtilityFunctions.hpp>
-
class StrictUpperTriangular
- #include <tsaUtilityFunctions.hpp>
-
class StrictLowerTriangular
- #include <tsaUtilityFunctions.hpp>
-
class Square
- #include <tsaUtilityFunctions.hpp>
-
class GetRe
- #include <tsaUtilityFunctions.hpp>
-
class GetIm
- #include <tsaUtilityFunctions.hpp>
-
class GetAbs
- #include <tsaUtilityFunctions.hpp>
-
class GetAbs2
- #include <tsaUtilityFunctions.hpp>
-
class GetPhase
- #include <tsaUtilityFunctions.hpp>
-
class ParseParameterString