Public Types | Static Public Attributes | List of all members
vnl_numeric_traits< unsigned long const > Class Template Reference

#include <vnl_numeric_traits.h>

Inheritance diagram for vnl_numeric_traits< unsigned long const >:
Inheritance graph
[legend]

Public Types

typedef unsigned long abs_t
 Return value of abs(). More...
 
typedef vxl_uint_64 double_t
 Name of a type twice as long as this one for accumulators and products. More...
 
typedef double real_t
 Name of type which results from multiplying this type with a double. More...
 

Static Public Attributes

static constexpr unsigned long zero = 0
 Additive identity. More...
 
static constexpr unsigned long one = 1
 Multiplicative identity. More...
 
static constexpr unsigned long maxval = sizeof(unsigned long)==8?((vxl_uint_64)(-1)):0xffffffffL
 Maximum value which this type can assume. More...
 

Detailed Description

template<>
class vnl_numeric_traits< unsigned long const >

Definition at line 288 of file vnl_numeric_traits.h.

Member Typedef Documentation

◆ abs_t

typedef unsigned long vnl_numeric_traits< unsigned long >::abs_t
inherited

Return value of abs().

Definition at line 280 of file vnl_numeric_traits.h.

◆ double_t

typedef vxl_uint_64 vnl_numeric_traits< unsigned long >::double_t
inherited

Name of a type twice as long as this one for accumulators and products.

Definition at line 282 of file vnl_numeric_traits.h.

◆ real_t

typedef double vnl_numeric_traits< unsigned long >::real_t
inherited

Name of type which results from multiplying this type with a double.

Definition at line 284 of file vnl_numeric_traits.h.

Member Data Documentation

◆ maxval

constexpr unsigned long vnl_numeric_traits< unsigned long >::maxval = sizeof(unsigned long)==8?((vxl_uint_64)(-1)):0xffffffffL
staticinherited

Maximum value which this type can assume.

Definition at line 277 of file vnl_numeric_traits.h.

◆ one

constexpr unsigned long vnl_numeric_traits< unsigned long >::one = 1
staticinherited

Multiplicative identity.

Definition at line 275 of file vnl_numeric_traits.h.

◆ zero

constexpr unsigned long vnl_numeric_traits< unsigned long >::zero = 0
staticinherited

Additive identity.

Definition at line 273 of file vnl_numeric_traits.h.


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