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
Functions File Reference
#include <string>
#include <cctype>
#include <sstream>
#include <algorithm>
#include "lo-ieee.h"
#include "Cell.h"
#include "ov.h"
#include "defun.h"
#include "gripes.h"
#include "utils.h"
Include dependency graph for

Go to the source code of this file.


static std::istringstream & extract_num (std::istringstream &is, double &num, bool &imag, bool &have_sign)
OCTAVE_EXPORT octave_value_list Fstr2double (const octave_value_list &args, int)
static bool is_imag_unit (int c)
static void set_component (Complex &c, double num, bool imag)
static double single_num (std::istringstream &is)
static Complex str2double1 (const std::string &str_arg)

Function Documentation

static std::istringstream& extract_num ( std::istringstream &  is,
double num,
bool imag,
bool have_sign 

Definition at line 102 of file

References is_imag_unit(), and single_num().

Referenced by str2double1().

OCTAVE_EXPORT octave_value_list Fstr2double ( const octave_value_list args,
static bool is_imag_unit ( int  c)

Definition at line 42 of file

Referenced by extract_num().

static void set_component ( Complex c,
double  num,
bool  imag 

Definition at line 242 of file

Referenced by str2double1().

static double single_num ( std::istringstream &  is)

Definition at line 46 of file

References c1, octave_Inf, octave_NA, and octave_NaN.

Referenced by extract_num().

static Complex str2double1 ( const std::string &  str_arg)

Definition at line 263 of file

References extract_num(), octave_NaN, and set_component().

Referenced by Fstr2double().