GNU Octave  4.0.0
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 <cstddef>
#include "oct-cmplx.h"
Include dependency graph for oct-locbuf.h:

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
size_t size(T const (&)[z])
Definition: help.cc:103

Definition at line 197 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(), SparseComplexQR::SparseComplexQR_rep::C(), SparseQR::SparseQR_rep::C(), call_mex(), octave_map::cat(), check_gzip_magic(), coletree(), ComplexSCHUR::ComplexSCHUR(), FloatQR::delete_col(), ComplexQR::delete_col(), FloatComplexQR::delete_col(), QR::delete_col(), Sparse< T >::delete_elements(), FloatQR::delete_row(), ComplexQR::delete_row(), FloatComplexQR::delete_row(), QR::delete_row(), CHOL::delete_sym(), FloatCHOL::delete_sym(), ComplexCHOL::delete_sym(), FloatComplexCHOL::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(), do_mat2cell(), do_mat2cell_2d(), do_mat2cell_nd(), do_simple_cellfun(), CHOL::downdate(), FloatCHOL::downdate(), ComplexCHOL::downdate(), FloatComplexCHOL::downdate(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__lin_interpn__(), Farrayfun(), octave_map::fast_elem_insert(), Fcellfun(), Fget(), find_starting_node(), FloatComplexSCHUR::FloatComplexSCHUR(), Fmat2cell(), Fmatrix_type(), Fmkstemp(), FloatQR::form(), ComplexQR::form(), FloatComplexQR::form(), QR::form(), Fquadcc(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fstrfind(), Fstrrep(), Fsystem(), G__delaunayn__(), G__osmesa_print__(), G__voronoi__(), Gamd(), Gaudioread(), Gaudiowrite(), Gccolamd(), Gcolamd(), Gconvhulln(), Gcsymamd(), octave_rand::get_internal_state(), Getree(), Gsymamd(), Gsymbfact(), Gsymrcm(), hdf5_read_next_data(), ichol_0(), ichol_t(), ilu_0(), ilu_crout(), ilu_tp(), ind2sub(), Sparse< T >::index(), FloatQR::init(), ComplexQR::init(), FloatComplexQR::init(), ComplexQRP::init(), QR::init(), FloatComplexQRP::init(), QRP::init(), FloatQRP::init(), FloatGEPBALANCE::init(), GEPBALANCE::init(), ComplexGEPBALANCE::init(), FloatComplexGEPBALANCE::init(), FloatSVD::init(), ComplexSVD::init(), FloatComplexSVD::init(), SVD::init(), FloatQR::insert_col(), ComplexQR::insert_col(), FloatComplexQR::insert_col(), QR::insert_col(), FloatQR::insert_row(), ComplexQR::insert_row(), FloatComplexQR::insert_row(), QR::insert_row(), CHOL::insert_sym(), FloatCHOL::insert_sym(), ComplexCHOL::insert_sym(), FloatComplexCHOL::insert_sym(), install_built_in_docstrings(), 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_base_int_matrix< T >::load_hdf5(), octave_fcn_inline::load_hdf5(), octave_sparse_bool_matrix::load_hdf5(), octave_sparse_complex_matrix::load_hdf5(), octave_sparse_matrix::load_hdf5(), octave_fcn_handle::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_float_matrix::load_hdf5(), octave_class::load_hdf5(), octave_bool_matrix::load_hdf5(), octave_matrix::load_hdf5(), load_hdf5_empty(), SparseMatrix::ltsolve(), SparseComplexMatrix::ltsolve(), regexp::match(), matrix_complex_probe(), matrix_real_probe(), MatrixType::MatrixType(), SparseMatrix::max(), SparseComplexMatrix::max(), mexErrMsgIdAndTxt(), mexWarnMsgIdAndTxt(), SparseMatrix::min(), SparseComplexMatrix::min(), mx_inline_xsum(), Array< T >::nth_element(), octcellregexp(), octinternal_do_mul_colpm_sm(), octregexp(), SparseQR::SparseQR_rep::Q(), SparseComplexQR::SparseComplexQR_rep::Q(), qrsolve(), read_binary_data(), read_doubles(), read_floats(), read_mat5_binary_element(), read_mat_binary_data(), rec_permute_helper::rec_permute_helper(), octave_sparse_bool_matrix::save_binary(), octave_bool_matrix::save_binary(), octave_base_int_matrix< T >::save_hdf5(), octave_fcn_inline::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(), FloatQR::shift_cols(), ComplexQR::shift_cols(), FloatComplexQR::shift_cols(), QR::shift_cols(), CHOL::shift_sym(), FloatCHOL::shift_sym(), ComplexCHOL::shift_sym(), FloatComplexCHOL::shift_sym(), single_type_concat(), single_type_concat_map(), Sparse< T >::sort(), Array< T >::sort(), octave_sort< T >::sort_rows(), Sparse< T >::Sparse(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), symetree(), Matrix::tinverse(), FloatMatrix::tinverse(), SparseMatrix::tinverse(), SparseComplexMatrix::tinverse(), ComplexMatrix::tinverse(), FloatComplexMatrix::tinverse(), transpose(), tree_postorder(), SparseMatrix::trisolve(), SparseComplexMatrix::trisolve(), FloatQR::update(), ComplexQR::update(), FloatComplexQR::update(), QR::update(), CHOL::update(), FloatCHOL::update(), ComplexCHOL::update(), FloatComplexCHOL::update(), LU::update_piv(), FloatLU::update_piv(), ComplexLU::update_piv(), FloatComplexLU::update_piv(), SparseMatrix::utsolve(), SparseComplexMatrix::utsolve(), 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
size_t size(T const (&)[z])
Definition: help.cc:103
#define OCTAVE_LOCAL_BUFFER(T, buf, size)
Definition: oct-locbuf.h:197

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

Referenced by Sparse< T >::assign(), do_bsxfun_op(), do_inplace_bsxfun_op(), do_mat2cell(), do_mat2cell_nd(), do_num2cell_helper(), 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 ()); \
} \
}
size_t size(T const (&)[z])
Definition: help.cc:103

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