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
Functions | Variables
dlmread.cc File Reference
#include <cctype>
#include <fstream>
#include <limits>
#include "file-ops.h"
#include "lo-ieee.h"
#include "defun.h"
#include "oct-stream.h"
#include "error.h"
#include "ovl.h"
#include "utils.h"
Include dependency graph for dlmread.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Fdlmread (const octave_value_list &args, int) i.e.
 
static bool parse_range_spec (const octave_value &range_spec, octave_idx_type &rlo, octave_idx_type &clo, octave_idx_type &rup, octave_idx_type &cup)
 
static bool read_cell_spec (std::istream &is, octave_idx_type &row, octave_idx_type &col)
 

Variables

OCTAVE_EXPORT
octave_value_list the first
data row corresponds to an
index of zero The 
ar {range} parameter specifies exactly which data elements are read. The first form of the parameter is a 4-element vector containing the upper left and lower right corners ode{[ar{R0},ar{C0},ar{R1},ar{C1}]} where the indices are zero-based. Alternatively
 
OCTAVE_EXPORT
octave_value_list the first
data row corresponds to an
index of zero The a
spreadsheet style form such as 
code {"A2..Q15"} or code{"T1:AA5"} can be used. The lowest alphabetical index code{'A'} refers to the first column. The lowest row index is 1. ar{file} should be a filename or a file id given by ode{fopen}. In the latter case
 
static const octave_idx_type idx_max
 
OCTAVE_EXPORT
octave_value_list the first
data row corresponds to an
index of zero The a
spreadsheet style form such as
the file is read until end of
file is reached The such as 
text
 

Function Documentation

OCTAVE_EXPORT octave_value_list Fdlmread ( const octave_value_list args,
int   
)

Referenced by install_dlmread_fcns().

static bool parse_range_spec ( const octave_value range_spec,
octave_idx_type rlo,
octave_idx_type clo,
octave_idx_type rup,
octave_idx_type cup 
)
static
static bool read_cell_spec ( std::istream &  is,
octave_idx_type row,
octave_idx_type col 
)
static

Definition at line 48 of file dlmread.cc.

References row, and stat().

Referenced by parse_range_spec().

Variable Documentation

OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The ar {range} parameter specifies exactly which data elements are read. The first form of the parameter is a 4-element vector containing the upper left and lower right corners ode{[ar{R0},ar{C0},ar{R1},ar{C1}]} where the indices are zero-based. Alternatively

Definition at line 191 of file dlmread.cc.

OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The a spreadsheet style form such as the file is read until end of file is reached The code {"A2..Q15"} or code{"T1:AA5"} can be used. The lowest alphabetical index code{'A'} refers to the first column. The lowest row index is 1. ar{file} should be a filename or a file id given by ode{fopen}. In the latter case

Definition at line 191 of file dlmread.cc.

const octave_idx_type idx_max
static
Initial value:
=
charNDArray max(char d, const charNDArray &m)
Definition: chNDArray.cc:228

Definition at line 44 of file dlmread.cc.

Referenced by dim_vector::safe_numel().

OCTAVE_EXPORT octave_value_list the first data row corresponds to an index of zero The a spreadsheet style form such as the file is read until end of file is reached The such as text