GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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"
Go to the source code of this file.
Functions | |
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) |
|
static |
Definition at line 101 of file str2double.cc.
References is_imag_unit(), and single_num().
Referenced by str2double1().
OCTAVE_EXPORT octave_value_list Fstr2double | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 341 of file str2double.cc.
References Array< T >::dims(), error_state, Array< T >::map(), octave_value::ndims(), Array< T >::numel(), octave_NaN, print_usage(), octave_value::rows(), str2double1(), and octave_value::string_value().
Definition at line 42 of file str2double.cc.
Referenced by extract_num().
Definition at line 241 of file str2double.cc.
Referenced by str2double1().
|
static |
Definition at line 46 of file str2double.cc.
References c1, octave_Inf, octave_NA, and octave_NaN.
Referenced by extract_num().
|
static |
Definition at line 262 of file str2double.cc.
References extract_num(), octave_NaN, and set_component().
Referenced by Fstr2double().