GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
dlmread.cc File Reference
#include <clocale>
#include <cmath>
#include <cctype>
#include <fstream>
#include <limits>
#include "file-ops.h"
#include "lo-ieee.h"
#include "lo-sysdep.h"
#include "defun.h"
#include "interpreter.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 (octave::interpreter &interp, const octave_value_list &args, int)
 
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

static const octave_idx_type idx_max = std::numeric_limits<octave_idx_type>::max () - 1
 
static const double idx_max_dbl = double (idx_max)
 

Function Documentation

◆ Fdlmread()

◆ parse_range_spec()

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

◆ read_cell_spec()

static bool read_cell_spec ( std::istream &  is,
octave_idx_type row,
octave_idx_type col 
)
static

Definition at line 56 of file dlmread.cc.

References stat().

Referenced by parse_range_spec().

Variable Documentation

◆ idx_max

const octave_idx_type idx_max = std::numeric_limits<octave_idx_type>::max () - 1
static

Definition at line 50 of file dlmread.cc.

Referenced by Fdlmread(), parse_range_spec(), and dim_vector::safe_numel().

◆ idx_max_dbl

const double idx_max_dbl = double (idx_max)
static

Definition at line 53 of file dlmread.cc.

Referenced by parse_range_spec().