Public Types | Static Public Attributes | List of all members
vnl_numeric_traits< int > Class Template Reference

#include <vnl_numeric_traits.h>

Inheritance diagram for vnl_numeric_traits< int >:
Inheritance graph
[legend]

Public Types

typedef unsigned int abs_t
 Return value of abs(). More...
 
typedef long 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 int zero = 0
 Additive identity. More...
 
static constexpr int one = 1
 Multiplicative identity. More...
 
static constexpr int maxval = 0x7fffffff
 Maximum value which this type can assume. More...
 

Detailed Description

template<>
class vnl_numeric_traits< int >

Definition at line 206 of file vnl_numeric_traits.h.

Member Typedef Documentation

◆ abs_t

typedef unsigned int vnl_numeric_traits< int >::abs_t

Return value of abs().

Definition at line 216 of file vnl_numeric_traits.h.

◆ double_t

typedef long vnl_numeric_traits< int >::double_t

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

Definition at line 218 of file vnl_numeric_traits.h.

◆ real_t

typedef double vnl_numeric_traits< int >::real_t

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

Definition at line 220 of file vnl_numeric_traits.h.

Member Data Documentation

◆ maxval

constexpr int vnl_numeric_traits< int >::maxval = 0x7fffffff
static

Maximum value which this type can assume.

Definition at line 214 of file vnl_numeric_traits.h.

◆ one

constexpr int vnl_numeric_traits< int >::one = 1
static

Multiplicative identity.

Definition at line 212 of file vnl_numeric_traits.h.

◆ zero

constexpr int vnl_numeric_traits< int >::zero = 0
static

Additive identity.

Definition at line 210 of file vnl_numeric_traits.h.


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