Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
model::IntegerMath< IntScalarType > Struct Template Reference

#include <IntegerMath.h>

Collaboration diagram for model::IntegerMath< IntScalarType >:

Static Public Member Functions

static IntScalarType sgn (const IntScalarType &a)
static IntScalarType gcd (const IntScalarType &a, const IntScalarType &b)
template<typename ArrayType>
static IntScalarType gcd (const ArrayType &a)
static IntScalarType lcm (const IntScalarType &a, const IntScalarType &b)

Detailed Description

template<typename IntScalarType>
struct model::IntegerMath< IntScalarType >

Definition at line 14 of file IntegerMath.h.

Member Function Documentation

◆ gcd() [1/2]

template<typename IntScalarType>
template<typename ArrayType>
IntScalarType model::IntegerMath< IntScalarType >::gcd ( const ArrayType & a)
inlinestatic

Definition at line 30 of file IntegerMath.h.

◆ gcd() [2/2]

template<typename IntScalarType>
IntScalarType model::IntegerMath< IntScalarType >::gcd ( const IntScalarType & a,
const IntScalarType & b )
inlinestatic

Definition at line 22 of file IntegerMath.h.

◆ lcm()

template<typename IntScalarType>
IntScalarType model::IntegerMath< IntScalarType >::lcm ( const IntScalarType & a,
const IntScalarType & b )
inlinestatic

Definition at line 68 of file IntegerMath.h.

◆ sgn()

template<typename IntScalarType>
IntScalarType model::IntegerMath< IntScalarType >::sgn ( const IntScalarType & a)
inlinestatic

Definition at line 17 of file IntegerMath.h.


The documentation for this struct was generated from the following file: