SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

tvmet::NumericTraits< short int > Struct Template Reference

#include <NumericTraits.h>

List of all members.

template<>
struct tvmet::NumericTraits< short int >


Public Types

enum  { is_complex = false }
enum  { ops_plus = 1, ops_muls = 1 }
 Complexity on operations. More...
typedef short int value_type
typedef value_type base_type
typedef long sum_type
typedef int diff_type
typedef float float_type
typedef short int signed_type
typedef NumericTraits< value_typetraits_type
typedef value_type argument_type

Static Public Member Functions

static base_type real (argument_type x)
static base_type imag (argument_type)
static value_type conj (argument_type x)
static base_type abs (argument_type x)
static value_type sqrt (argument_type x)
static base_type norm_1 (argument_type x)
static base_type norm_2 (argument_type x)
static base_type norm_inf (argument_type x)
static bool equals (argument_type lhs, argument_type rhs)

Member Typedef Documentation

typedef short int tvmet::NumericTraits< short int >::value_type

typedef value_type tvmet::NumericTraits< short int >::base_type

typedef long tvmet::NumericTraits< short int >::sum_type

typedef int tvmet::NumericTraits< short int >::diff_type

typedef float tvmet::NumericTraits< short int >::float_type

typedef short int tvmet::NumericTraits< short int >::signed_type

typedef NumericTraits<value_type> tvmet::NumericTraits< short int >::traits_type

typedef value_type tvmet::NumericTraits< short int >::argument_type


Member Enumeration Documentation

anonymous enum

Enumerator:
is_complex 

anonymous enum

Complexity on operations.

Enumerator:
ops_plus  Complexity on plus/minus ops.

ops_muls  Complexity on multiplications.


Member Function Documentation

static base_type tvmet::NumericTraits< short int >::real ( argument_type  x  )  [inline, static]

static base_type tvmet::NumericTraits< short int >::imag ( argument_type   )  [inline, static]

static value_type tvmet::NumericTraits< short int >::conj ( argument_type  x  )  [inline, static]

static base_type tvmet::NumericTraits< short int >::abs ( argument_type  x  )  [inline, static]

static value_type tvmet::NumericTraits< short int >::sqrt ( argument_type  x  )  [inline, static]

static base_type tvmet::NumericTraits< short int >::norm_1 ( argument_type  x  )  [inline, static]

static base_type tvmet::NumericTraits< short int >::norm_2 ( argument_type  x  )  [inline, static]

static base_type tvmet::NumericTraits< short int >::norm_inf ( argument_type  x  )  [inline, static]

static bool tvmet::NumericTraits< short int >::equals ( argument_type  lhs,
argument_type  rhs 
) [inline, static]


Author: