#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "mach-info.h"
#include "ov.h"
#include "ovl.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
octave_value_list | Fhex2num (const octave_value_list &args, int) |
octave_value_list | Fnum2hex (const octave_value_list &args, int) |
template<typename T > | |
Array< T > | hex2num (const Array< std::string > &val, bool swap_bytes) |
template<typename T > | |
Cell | num2hex (const Array< T > &v, bool swap_bytes) |
octave_value_list Fhex2num | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 159 of file hex2num.cc.
References error(), octave_value::length(), print_usage(), and swap_bytes().
octave_value_list Fnum2hex | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 304 of file hex2num.cc.
References octave_value::char_array_value(), err_wrong_type_arg(), error(), octave_value::float_vector_value(), octave_value::int16_array_value(), octave_value::int32_array_value(), octave_value::int64_array_value(), octave_value::int8_array_value(), octave_value::is_char_matrix(), octave_value::is_double_type(), octave_value::is_int16_type(), octave_value::is_int32_type(), octave_value::is_int64_type(), octave_value::is_int8_type(), octave_value::is_single_type(), octave_value::is_uint16_type(), octave_value::is_uint32_type(), octave_value::is_uint64_type(), octave_value::is_uint8_type(), octave_value::iscomplex(), print_usage(), Cell::string_vector_value(), swap_bytes(), octave_value::uint16_array_value(), octave_value::uint32_array_value(), octave_value::uint64_array_value(), octave_value::uint8_array_value(), and octave_value::vector_value().
Definition at line 92 of file hex2num.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), swap_bytes(), and Array< T, Alloc >::xelem().
Definition at line 247 of file hex2num.cc.
References Array< T, Alloc >::data(), Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and swap_bytes().