GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros
oct-locbuf.h File Reference
#include "octave-config.h"
#include <cstddef>
#include "oct-cmplx.h"
Include dependency graph for oct-locbuf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  octave_chunk_buffer
 
class  octave_local_buffer< T >
 
class  octave_local_buffer< bool >
 
class  octave_local_buffer< char >
 
class  octave_local_buffer< Complex >
 
class  octave_local_buffer< const T * >
 
class  octave_local_buffer< double >
 
class  octave_local_buffer< float >
 
class  octave_local_buffer< FloatComplex >
 
class  octave_local_buffer< int >
 
class  octave_local_buffer< long >
 
class  octave_local_buffer< short >
 
class  octave_local_buffer< T * >
 
class  octave_local_buffer< unsigned int >
 
class  octave_local_buffer< unsigned long >
 
class  octave_local_buffer< unsigned short >
 

Macros

#define OCTAVE_LOCAL_BUFFER(T, buf, size)
 
#define OCTAVE_LOCAL_BUFFER_INIT(T, buf, size, value)
 
#define SPECIALIZE_POD_BUFFER(TYPE)
 

Macro Definition Documentation

#define OCTAVE_LOCAL_BUFFER (   T,
  buf,
  size 
)
Value:
octave_local_buffer<T> _buffer_ ## buf (size); \
T *buf = _buffer_ ## buf
OCTAVE_EXPORT octave_value_list any number nd example oindent prints the prompt xample Pick a any number!nd example oindent and waits for the user to enter a value The string entered by the user is evaluated as an so it may be a literal a variable or any other valid Octave code The number of return their size
Definition: input.cc:871

Definition at line 200 of file oct-locbuf.h.

Referenced by octave_struct::as_mxArray(), octave_scalar_struct::as_mxArray(), rec_permute_helper::blk_trans(), SparseMatrix::bsolve(), SparseComplexMatrix::bsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), call_mex(), octave_map::cat(), check_gzip_magic(), coletree(), octave::opengl_texture::create(), qr< T >::delete_col(), Sparse< T >::delete_elements(), qr< T >::delete_row(), chol< T >::delete_sym(), PermMatrix::determinant(), dmsolve(), dmsolve_extract(), dmsolve_insert(), dmsolve_permute(), do_bool_partition(), octave_map::do_cat(), octave_fftw_planner::do_create_plan(), octave_float_fftw_planner::do_create_plan(), chol< T >::downdate(), octave::opengl_renderer::draw_image(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__lin_interpn__(), octave_map::fast_elem_insert(), Fget(), find_starting_node(), qr< T >::form(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), G__delaunayn__(), G__osmesa_print__(), G__voronoi__(), Gamd(), Gaudioread(), Gccolamd(), Gcolamd(), Gconvhulln(), octave_rand::get_internal_state(), Gsymbfact(), Gsymrcm(), octave::crypto::hash(), hdf5_read_next_data_internal(), ichol_0(), ichol_t(), ilu_0(), ind2sub(), Sparse< T >::index(), gepbalance< T >::init(), qrp< T >::init(), qr< T >::init(), qr< T >::insert_col(), qr< T >::insert_row(), chol< T >::insert_sym(), lin_interpn(), octave_fcn_inline::load_binary(), octave_sparse_bool_matrix::load_binary(), octave_fcn_handle::load_binary(), octave_class::load_binary(), octave_bool_matrix::load_binary(), octave_fcn_inline::load_hdf5(), octave_base_int_matrix< T >::load_hdf5(), octave_sparse_bool_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), octave_fcn_handle::load_hdf5(), octave_sparse_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_class::load_hdf5(), octave_float_matrix::load_hdf5(), octave_bool_matrix::load_hdf5(), octave_matrix::load_hdf5(), load_hdf5_empty(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), octave::regexp::match(), matrix_complex_probe(), matrix_real_probe(), MatrixType::MatrixType(), SparseMatrix::max(), SparseComplexMatrix::max(), mexErrMsgIdAndTxt(), mexWarnMsgIdAndTxt(), SparseMatrix::min(), SparseComplexMatrix::min(), mx_inline_diff(), mx_inline_xsum(), Array< T >::nth_element(), octcellregexp(), octinternal_do_mul_colpm_sm(), octregexp(), pattern(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), raw_help_from_docstrings_file(), read_binary_data(), read_doubles(), read_floats(), read_mat5_binary_element(), read_mat_binary_data(), rec_permute_helper::rec_permute_helper(), octave::math::rsf2csf< ComplexMatrix, Matrix >(), octave::math::rsf2csf< FloatComplexMatrix, FloatMatrix >(), octave_sparse_bool_matrix::save_binary(), octave_bool_matrix::save_binary(), octave_fcn_inline::save_hdf5(), octave_base_int_matrix< T >::save_hdf5(), octave_sparse_bool_matrix::save_hdf5(), octave_fcn_handle::save_hdf5(), octave_float_complex_matrix::save_hdf5(), octave_char_matrix_str::save_hdf5(), octave_complex_matrix::save_hdf5(), octave_cell::save_hdf5(), octave_float_matrix::save_hdf5(), octave_bool_matrix::save_hdf5(), octave_matrix::save_hdf5(), save_hdf5_empty(), save_mat5_array_length(), save_mat5_binary_element(), save_mat_binary_data(), octave_rand::set_internal_state(), qr< T >::shift_cols(), chol< T >::shift_sym(), single_type_concat(), Sparse< T >::sort(), Array< T >::sort(), octave_sort< T >::sort_rows(), Sparse< T >::Sparse(), octave::math::sparse_lu< lu_type >::sparse_lu(), symetree(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::tall_solve(), Matrix::tinverse(), FloatMatrix::tinverse(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), ComplexMatrix::tinverse(), FloatComplexMatrix::tinverse(), transpose(), tree_postorder(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), qr< T >::update(), chol< T >::update(), lu< T >::update_piv(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve(), octave_stream::write(), and write_mat5_sparse_index_vector().

#define OCTAVE_LOCAL_BUFFER_INIT (   T,
  buf,
  size,
  value 
)
Value:
for (size_t _buf_iter = 0, _buf_size = size; \
_buf_iter < _buf_size; _buf_iter++) \
buf[_buf_iter] = value
for(octave_idx_type n=0;n< hcv.numel();n++)
Definition: graphics.cc:10128
OCTAVE_EXPORT octave_value_list or N dimensional array whose elements are all equal to the IEEE symbol zero divided by nd tex zero divided by nd ifnottex and any operation involving another NaN value(5+NaN).Note that NaN always compares not equal to NaN(NaN!
#define OCTAVE_LOCAL_BUFFER(T, buf, size)
Definition: oct-locbuf.h:200
OCTAVE_EXPORT octave_value_list any number nd example oindent prints the prompt xample Pick a any number!nd example oindent and waits for the user to enter a value The string entered by the user is evaluated as an so it may be a literal a variable or any other valid Octave code The number of return their size
Definition: input.cc:871

Definition at line 209 of file oct-locbuf.h.

Referenced by Sparse< T >::assign(), do_bsxfun_op(), do_inplace_bsxfun_op(), idx_vector::is_permutation(), Array< T >::permute(), idx_vector::idx_vector_rep::sort_idx(), idx_vector::idx_vector_rep::sort_uniq_clone(), and Sparse< T >::Sparse().

#define SPECIALIZE_POD_BUFFER (   TYPE)
Value:
template <> \
{ \
public: \
octave_local_buffer (size_t size) \
: octave_chunk_buffer (size * sizeof (TYPE)) { } \
\
operator TYPE *() const \
{ \
return reinterpret_cast<TYPE *> (this->data ()); \
} \
}
OCTAVE_EXPORT octave_value_list any number nd example oindent prints the prompt xample Pick a any number!nd example oindent and waits for the user to enter a value The string entered by the user is evaluated as an so it may be a literal a variable or any other valid Octave code The number of return their size
Definition: input.cc:871

Definition at line 114 of file oct-locbuf.h.