GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include "oct-locbuf.h"
#include "quit.h"
#include "data.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "oct-map.h"
#include "ovl.h"
#include "pt-arg-list.h"
#include "pt-bp.h"
#include "pt-exp.h"
#include "pt-mat.h"
#include "pt-walk.h"
#include "utils.h"
#include "ov.h"
#include "variables.h"
#include "ov-cx-mat.h"
#include "ov-flt-cx-mat.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"
Go to the source code of this file.
Classes | |
class | tm_const |
class | tm_row_const |
class | tm_row_const::tm_row_const_rep |
Functions | |
static octave_value | do_class_concat (tm_const &tmc) |
template<typename TYPE > | |
static octave_value | do_single_type_concat (const dim_vector &dv, tm_const &tmp) |
template<> | |
octave_value | do_single_type_concat< octave_map > (const dim_vector &dv, tm_const &tmp) |
static OCTAVE_NORETURN void | eval_error (const char *msg, const dim_vector &x, const dim_vector &y) |
OCTAVE_EXPORT octave_value_list | Fstring_fill_char (const octave_value_list &args, int nargout) the variable is changed locally for the function and any subroutines it calls.The original variable value is restored when exiting the function.nd deftypefn */) |
std::string | get_concat_class (const std::string &c1, const std::string &c2) |
void | maybe_warn_string_concat (bool all_dq_strings_p, bool all_sq_strings_p) |
template<typename TYPE , typename T > | |
static void | single_type_concat (Array< T > &result, tm_const &tmp) |
template<typename TYPE , typename T > | |
static void | single_type_concat (Array< T > &result, const dim_vector &dv, tm_const &tmp) |
template<typename TYPE , typename T > | |
static void | single_type_concat (Sparse< T > &result, const dim_vector &dv, tm_const &tmp) |
template<typename MAP > | |
static void | single_type_concat (octave_map &result, const dim_vector &dv, tm_const &tmp) |
Variables | |
char | Vstring_fill_char = ' ' |
|
static |
Definition at line 867 of file pt-mat.cc.
References octave::base_list< elt_type >::begin(), tm_row_const::begin(), octave::base_list< elt_type >::end(), tm_row_const::end(), octave::base_list< elt_type >::length(), tm_row_const::length(), octave_value(), p, retval, row, and tm_row_const::rows().
Referenced by tree_matrix::rvalue1().
|
static |
octave_value do_single_type_concat< octave_map > | ( | const dim_vector & | dv, |
tm_const & | tmp | ||
) |
|
static |
Definition at line 279 of file pt-mat.cc.
References error(), and dim_vector::str().
Referenced by tm_row_const::tm_row_const_rep::cellify(), tm_row_const::tm_row_const_rep::init(), tm_const::init(), and interactive_input().
OCTAVE_EXPORT octave_value_list Fstring_fill_char | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1372 of file pt-mat.cc.
References SET_INTERNAL_VARIABLE.
Referenced by install_pt_mat_fcns().
std::string get_concat_class | ( | const std::string & | c1, |
const std::string & | c2 | ||
) |
Definition at line 205 of file pt-mat.cc.
References retval, octave_base_value::static_class_name(), and string.
Referenced by tm_row_const::tm_row_const_rep::do_init_element(), and tm_const::init().
Definition at line 664 of file pt-mat.cc.
References warning_with_id().
Referenced by tree_matrix::rvalue1().
|
static |
Definition at line 673 of file pt-mat.cc.
References dim_vector::any_zero(), octave::base_list< elt_type >::begin(), tm_row_const::begin(), c, tm_row_const::dims(), octave::base_list< elt_type >::end(), tm_row_const::end(), Array< T >::insert(), p, row, and tm_row_const::rows().
|
static |
Definition at line 711 of file pt-mat.cc.
References tm_row_const::all_1x1_p(), dim_vector::any_zero(), tm_row_const::begin(), Array< T >::cat(), Array< T >::clear(), dv, tm_row_const::end(), octave::base_list< elt_type >::front(), octave::base_list< elt_type >::length(), tm_row_const::length(), Array< T >::numel(), OCTAVE_LOCAL_BUFFER, result, row, and tmp.
|
static |
Definition at line 762 of file pt-mat.cc.
References dim_vector::any_zero(), octave::base_list< elt_type >::begin(), tm_row_const::begin(), Sparse< T >::cat(), dv, octave::base_list< elt_type >::end(), tm_row_const::end(), octave::base_list< elt_type >::length(), tm_row_const::length(), OCTAVE_LOCAL_BUFFER, p, and row.
|
static |
Definition at line 803 of file pt-mat.cc.
References dim_vector::any_zero(), octave::base_list< elt_type >::begin(), tm_row_const::begin(), octave_map::cat(), octave::base_list< elt_type >::end(), tm_row_const::end(), octave::base_list< elt_type >::length(), tm_row_const::length(), OCTAVE_LOCAL_BUFFER, p, and row.
char Vstring_fill_char = ' ' |
Definition at line 53 of file pt-mat.cc.
Referenced by octave_user_function::bind_automatic_vars(), and tree_matrix::rvalue1().