Navigation

Operators and Keywords

Function List:

C++ API

pt-mat.cc File Reference

#include <iostream>
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "oct-obj.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"

Include dependency graph for pt-mat.cc:


Classes

class  tm_row_const
class  tm_row_const::tm_row_const::tm_row_const_rep
class  tm_const

Defines

#define SINGLE_TYPE_CONCAT(TYPE, EXTRACTOR)
#define DO_SINGLE_TYPE_CONCAT(TYPE, EXTRACTOR)
#define DO_SINGLE_TYPE_CONCAT_NO_MUTATE(TYPE, EXTRACTOR, OV_TYPE)

Functions

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)
 DEFUN (string_fill_char, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} string_fill_char ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} string_fill_char (@var{new_val})\n\ Query or set the internal variable used to pad all rows of a character\n\ matrix to the same length. It must be a single character. The default\n\ value is @code{\" \"} (a single space). For example,\n\ \n\ @example\n\ @group\n\ string_fill_char (\"X\");\n\ [ \"these\"; \"are\"; \"strings\" ]\n\ @result{} \"theseXX\"\n\ \"areXXXX\"\n\ \"strings\"\n\ @end group\n\ @end example\n\ @end deftypefn")

Variables

char Vstring_fill_char = ' '

Define Documentation

#define DO_SINGLE_TYPE_CONCAT ( TYPE,
EXTRACTOR   ) 

Value:

do \
    { \
      TYPE result (dv); \
 \
      SINGLE_TYPE_CONCAT (TYPE, EXTRACTOR); \
 \
      retval = result; \
    } \
  while (0)

#define DO_SINGLE_TYPE_CONCAT_NO_MUTATE ( TYPE,
EXTRACTOR,
OV_TYPE   ) 

Value:

do \
    { \
      TYPE result (dv); \
 \
      SINGLE_TYPE_CONCAT (TYPE, EXTRACTOR); \
 \
      retval = octave_value (new OV_TYPE (result)); \
    } \
  while (0)

#define SINGLE_TYPE_CONCAT ( TYPE,
EXTRACTOR   ) 


Function Documentation

DEFUN ( string_fill_char  ,
args  ,
nargout   
)

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 
)


Variable Documentation

char Vstring_fill_char = ' '