SPUC  3.0
Namespaces | Functions
quantize.h File Reference

Templated Quantize function. More...

#include <spuc/spuc_types.h>
#include <cmath>
#include <spuc/quantized_type.h>
#include <spuc/quantizer.h>
Include dependency graph for quantize.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 SPUC
 fixed point types: spuc_fixed,spuc_ufixed,spuc_int,spuc_uint
 

Functions

template<typename T >
quantized_type< T >::dtype SPUC::quantize (T in)
 Templated Quantize function template function that uses a class to allow template specialization. More...
 
template<typename T >
SPUC::quantize_scale (float_type x, float_type ox, T y)
 

Detailed Description

Templated Quantize function.