KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
kjb::debug Namespace Reference

Functions

template<class T >
std::string to_bitstring (T v)
 
int test_reflect_into_input_buf (const Matrix &, Matrix *, const Fftw_convolution_2d::Sizes &)
 test function provides transparency to hidden reflect_into_input_buf More...
 

Function Documentation

int kjb::debug::test_reflect_into_input_buf ( const Matrix &  in,
Matrix *  out,
const Fftw_convolution_2d::Sizes &  s 
)

test function provides transparency to hidden reflect_into_input_buf

template<class T >
std::string kjb::debug::to_bitstring ( v)

Convert a float to a string of '0' and '1's representing its binary representation.

Note
This not optimized for production use and is intended for debugging purposes only.

TODO: Make this a generic template function.