#include "vnl_matlab_write.h"
#include <vcl_iostream.h>
#include <vcl_cstring.h>
#include <vcl_complex.h>
#include <vnl/vnl_matlab_header.h>
#include <vxl_config.h>
Go to the source code of this file.
Defines | |
#define | native_BYTE_ORDER vnl_matlab_header::vnl_BIG_ENDIAN |
#define | scalar_instantiate(T) template bool vnl_matlab_write(vcl_ostream &, T const &, char const *); |
#define | array1D_instantiate(T) template bool vnl_matlab_write(vcl_ostream &, T const *, unsigned, char const *); |
#define | array2D_instantiate(T) template bool vnl_matlab_write(vcl_ostream &, T const * const *, unsigned, unsigned, char const *); |
Functions | |
void | vnl_write_bytes (vcl_ostream &s, void const *p, unsigned bytes) |
long | vnl_scalar_precision (float const &) |
long | vnl_scalar_precision (double const &) |
long | vnl_scalar_precision (vcl_complex< float > const &) |
long | vnl_scalar_precision (vcl_complex< double > const &) |
long | vnl_is_complex (float const &) |
long | vnl_is_complex (double const &) |
long | vnl_is_complex (vcl_complex< float > const &) |
long | vnl_is_complex (vcl_complex< double > const &) |
void | vnl_write_real (vcl_ostream &s, float const *data, unsigned n) |
void | vnl_write_real (vcl_ostream &s, double const *data, unsigned n) |
void | vnl_write_real (vcl_ostream &s, vcl_complex< float > const *data, unsigned n) |
void | vnl_write_real (vcl_ostream &s, vcl_complex< double > const *data, unsigned n) |
void | vnl_write_imag (vcl_ostream &, float const *, unsigned) |
void | vnl_write_imag (vcl_ostream &, double const *, unsigned) |
void | vnl_write_imag (vcl_ostream &s, vcl_complex< float > const *data, unsigned n) |
void | vnl_write_imag (vcl_ostream &s, vcl_complex< double > const *data, unsigned n) |
template<class T > | |
bool | vnl_matlab_write (vcl_ostream &s, T const &x, char const *name) |
scalars. | |
template<class T > | |
bool | vnl_matlab_write (vcl_ostream &s, T const *v, unsigned n, char const *name) |
1D array. | |
template<class T > | |
bool | vnl_matlab_write (vcl_ostream &s, T const *const *data, unsigned rows, unsigned cols, char const *name) |
2D array. | |
scalar_instantiate (float) | |
scalar_instantiate (double) | |
scalar_instantiate (vcl_complex< float >) | |
scalar_instantiate (vcl_complex< double >) | |
array1D_instantiate (float) | |
array1D_instantiate (double) | |
array1D_instantiate (vcl_complex< float >) | |
array1D_instantiate (vcl_complex< double >) | |
array2D_instantiate (float) | |
array2D_instantiate (double) | |
array2D_instantiate (vcl_complex< float >) | |
array2D_instantiate (vcl_complex< double >) |
Definition in file vnl_matlab_write.cxx.
#define array1D_instantiate | ( | T | ) | template bool vnl_matlab_write(vcl_ostream &, T const *, unsigned, char const *); |
Definition at line 135 of file vnl_matlab_write.cxx.
#define array2D_instantiate | ( | T | ) | template bool vnl_matlab_write(vcl_ostream &, T const * const *, unsigned, unsigned, char const *); |
Definition at line 161 of file vnl_matlab_write.cxx.
#define native_BYTE_ORDER vnl_matlab_header::vnl_BIG_ENDIAN |
Definition at line 20 of file vnl_matlab_write.cxx.
#define scalar_instantiate | ( | T | ) | template bool vnl_matlab_write(vcl_ostream &, T const &, char const *); |
Definition at line 114 of file vnl_matlab_write.cxx.
array1D_instantiate | ( | float | ) |
array1D_instantiate | ( | double | ) |
array1D_instantiate | ( | vcl_complex< float > | ) |
array1D_instantiate | ( | vcl_complex< double > | ) |
array2D_instantiate | ( | float | ) |
array2D_instantiate | ( | double | ) |
array2D_instantiate | ( | vcl_complex< float > | ) |
array2D_instantiate | ( | vcl_complex< double > | ) |
scalar_instantiate | ( | float | ) |
scalar_instantiate | ( | double | ) |
scalar_instantiate | ( | vcl_complex< float > | ) |
scalar_instantiate | ( | vcl_complex< double > | ) |
long vnl_is_complex | ( | float const & | ) |
Definition at line 40 of file vnl_matlab_write.cxx.
long vnl_is_complex | ( | double const & | ) |
Definition at line 41 of file vnl_matlab_write.cxx.
long vnl_is_complex | ( | vcl_complex< float > const & | ) |
Definition at line 42 of file vnl_matlab_write.cxx.
long vnl_is_complex | ( | vcl_complex< double > const & | ) |
Definition at line 43 of file vnl_matlab_write.cxx.
bool vnl_matlab_write | ( | vcl_ostream & | s, |
T const & | x, | ||
char const * | name | ||
) |
scalars.
Definition at line 98 of file vnl_matlab_write.cxx.
bool vnl_matlab_write | ( | vcl_ostream & | s, |
T const * | v, | ||
unsigned | n, | ||
char const * | name | ||
) |
1D array.
Definition at line 119 of file vnl_matlab_write.cxx.
bool vnl_matlab_write | ( | vcl_ostream & | s, |
T const *const * | data, | ||
unsigned | rows, | ||
unsigned | cols, | ||
char const * | name | ||
) |
2D array.
Definition at line 140 of file vnl_matlab_write.cxx.
long vnl_scalar_precision | ( | float const & | ) |
Definition at line 34 of file vnl_matlab_write.cxx.
long vnl_scalar_precision | ( | double const & | ) |
Definition at line 35 of file vnl_matlab_write.cxx.
long vnl_scalar_precision | ( | vcl_complex< float > const & | ) |
Definition at line 36 of file vnl_matlab_write.cxx.
long vnl_scalar_precision | ( | vcl_complex< double > const & | ) |
Definition at line 37 of file vnl_matlab_write.cxx.
void vnl_write_bytes | ( | vcl_ostream & | s, |
void const * | p, | ||
unsigned | bytes | ||
) |
Definition at line 24 of file vnl_matlab_write.cxx.
void vnl_write_imag | ( | vcl_ostream & | , |
float const * | , | ||
unsigned | |||
) |
Definition at line 72 of file vnl_matlab_write.cxx.
void vnl_write_imag | ( | vcl_ostream & | , |
double const * | , | ||
unsigned | |||
) |
Definition at line 74 of file vnl_matlab_write.cxx.
void vnl_write_imag | ( | vcl_ostream & | s, |
vcl_complex< float > const * | data, | ||
unsigned | n | ||
) |
Definition at line 76 of file vnl_matlab_write.cxx.
void vnl_write_imag | ( | vcl_ostream & | s, |
vcl_complex< double > const * | data, | ||
unsigned | n | ||
) |
Definition at line 85 of file vnl_matlab_write.cxx.
void vnl_write_real | ( | vcl_ostream & | s, |
float const * | data, | ||
unsigned | n | ||
) |
Definition at line 46 of file vnl_matlab_write.cxx.
void vnl_write_real | ( | vcl_ostream & | s, |
double const * | data, | ||
unsigned | n | ||
) |
Definition at line 49 of file vnl_matlab_write.cxx.
void vnl_write_real | ( | vcl_ostream & | s, |
vcl_complex< float > const * | data, | ||
unsigned | n | ||
) |
Definition at line 52 of file vnl_matlab_write.cxx.
void vnl_write_real | ( | vcl_ostream & | s, |
vcl_complex< double > const * | data, | ||
unsigned | n | ||
) |
Definition at line 61 of file vnl_matlab_write.cxx.