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

#include <vnl_numeric_traits.h>

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

Public Types

typedef float abs_t
 Return value of abs(). More...
 
typedef double 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 float zero = 0.0F
 Additive identity. More...
 
static constexpr float one = 1.0F
 Multiplicative identity. More...
 
static constexpr float maxval = 3.40282346638528860e+38F
 Maximum value which this type can assume. More...
 

Detailed Description

template<>
class vnl_numeric_traits< float >

Definition at line 336 of file vnl_numeric_traits.h.

Member Typedef Documentation

◆ abs_t

typedef float vnl_numeric_traits< float >::abs_t

Return value of abs().

Definition at line 346 of file vnl_numeric_traits.h.

◆ double_t

typedef double vnl_numeric_traits< float >::double_t

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

Definition at line 348 of file vnl_numeric_traits.h.

◆ real_t

typedef double vnl_numeric_traits< float >::real_t

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

Definition at line 350 of file vnl_numeric_traits.h.

Member Data Documentation

◆ maxval

constexpr float vnl_numeric_traits< float >::maxval = 3.40282346638528860e+38F
static

Maximum value which this type can assume.

Definition at line 344 of file vnl_numeric_traits.h.

◆ one

constexpr float vnl_numeric_traits< float >::one = 1.0F
static

Multiplicative identity.

Definition at line 342 of file vnl_numeric_traits.h.

◆ zero

constexpr float vnl_numeric_traits< float >::zero = 0.0F
static

Additive identity.

Definition at line 340 of file vnl_numeric_traits.h.


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