#include <limits>
#include "mx-base.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "unwind-prot.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Ftypecast (const octave_value_list &args, int) this is not guaranteed by C++. If your system is IEEE conformant |
template<typename ArrayType > | |
static void | get_data_and_bytesize (const ArrayType &array, const void *&data, octave_idx_type &byte_size, dim_vector &old_dims, octave::unwind_protect &frame) |
static dim_vector | get_vec_dims (const dim_vector &old_dims, octave_idx_type n) |
template<typename ArrayType > | |
static ArrayType | reinterpret_copy (const void *data, octave_idx_type byte_size, const dim_vector &old_dims) |
template<typename ArrayType > | |
static ArrayType | reinterpret_int_copy (const void *data, octave_idx_type byte_size, const dim_vector &old_dims) |
typecast (ar{x}, "uint8") esult | |
Variables | |
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes respectively the return value is a row otherwise it is a column vector If the bit length of | ar {x} is not divisible by that of ar{class} |
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes respectively | code {"logical"} is not allowed for ar{class}. If the input is a row vector |
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes respectively the return value is a row | vector |
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes | wide |
OCTAVE_EXPORT octave_value_list Ftypecast | ( | const octave_value_list & | args, |
int | |||
) |
|
static |
Definition at line 51 of file typecast.cc.
References octave::action_container::add_delete(), array(), and frame.
|
static |
Definition at line 39 of file typecast.cc.
References dim_vector::ndims().
Referenced by reinterpret_copy(), and reinterpret_int_copy().
|
static |
Definition at line 69 of file typecast.cc.
References error(), get_vec_dims(), and retval.
|
static |
Definition at line 87 of file typecast.cc.
References error(), get_vec_dims(), and retval.
Definition at line 157 of file typecast.cc.
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes respectively the return value is a row otherwise it is a column vector If the bit length of an error occurs An example of the use of typecast on a little endian machine is xample roup ar {x} is not divisible by that of ar{class} |
Definition at line 157 of file typecast.cc.
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes respectively code {"logical"} is not allowed for ar{class}. If the input is a row vector |
Definition at line 157 of file typecast.cc.
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes respectively the return value is a row vector |
Definition at line 157 of file typecast.cc.
OCTAVE_EXPORT octave_value_list single and double will be bytes and bytes wide |
Definition at line 157 of file typecast.cc.