ug4
ug::DefaultAlgebra Class Reference

Singleton, providing the current default algebra. More...

#include <algebra_type.h>

Static Public Member Functions

static AlgebraType get ()
 
static void set (const AlgebraType &defaultType)
 

Static Protected Attributes

static AlgebraType m_default = AlgebraType(AlgebraType::CPU, 1)
 

Detailed Description

Singleton, providing the current default algebra.

Member Function Documentation

◆ get()

static AlgebraType ug::DefaultAlgebra::get ( )
inlinestatic

References m_default.

◆ set()

static void ug::DefaultAlgebra::set ( const AlgebraType defaultType)
inlinestatic

References m_default.

Member Data Documentation

◆ m_default

AlgebraType ug::DefaultAlgebra::m_default = AlgebraType(AlgebraType::CPU, 1)
staticprotected

Referenced by get(), and set().


The documentation for this class was generated from the following files: