GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
utils.h File Reference
#include "octave-config.h"
#include <cstdarg>
#include <iosfwd>
#include <string>
#include <list>
#include "dMatrix.h"
#include "lo-utils.h"
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 octave
 

Functions

int octave::almost_match (const std::string &std, const std::string &s, int min_match_len, int case_sens)
 
std::string octave::asprintf (const char *fmt,...)
 
void octave::check_dimensions (dim_vector &dim, const char *warnfor)
 
std::string octave::contents_file_in_path (const std::string &dir)
 
octave_idx_type octave::dims_to_numel (const dim_vector &dims, const octave_value_list &idx_arg)
 
octave_value octave::do_simple_cellfun (octave_value_list(*fun)(const octave_value_list &, int), const char *fun_name, const octave_value_list &args)
 
octave_value_list octave::do_simple_cellfun (octave_value_list(*fun)(const octave_value_list &, int), const char *fun_name, const octave_value_list &args, int nargout)
 
std::string octave::do_string_escapes (const std::string &s)
 
std::string octave::fcn_file_in_path (const std::string &name)
 
std::string octave::file_in_path (const std::string &name, const std::string &suffix)
 
std::string octave::find_data_file_in_load_path (const std::string &fcn, const std::string &file, bool require_regular_file)
 
FloatMatrix octave::float_identity_matrix (octave_idx_type nr, octave_idx_type nc)
 
size_t octave::format (std::ostream &os, const char *fmt,...)
 
size_t octave::format (std::ostream &os, const std::string &enc, const char *fmt,...)
 
void octave::get_dimensions (const octave_value &a, const char *warn_for, dim_vector &dim)
 
void octave::get_dimensions (const octave_value &a, const char *warn_for, octave_idx_type &nr, octave_idx_type &nc)
 
void octave::get_dimensions (const octave_value &a, const octave_value &b, const char *warn_for, octave_idx_type &nr, octave_idx_type &nc)
 
Matrix octave::identity_matrix (octave_idx_type nr, octave_idx_type nc)
 
int octave::keyword_almost_match (const char *const *std, int *min_len, const std::string &s, int min_toks_to_match, int max_toks)
 
bool octave::same_file (const std::string &f, const std::string &g)
 
string_vector octave::search_path_for_all_files (const std::string &path, const string_vector &names)
 
std::string octave::search_path_for_file (const std::string &path, const string_vector &names)
 
void octave::sleep (double seconds, bool do_graphics_events)
 
const char * octave::undo_string_escape (char c)
 
std::string octave::undo_string_escapes (const std::string &s)
 
bool octave::valid_identifier (const char *s)
 
bool octave::valid_identifier (const std::string &s)
 
std::string octave::vasprintf (const char *fmt, va_list args)
 
size_t octave::vformat (std::ostream &os, const char *fmt, va_list args)
 
size_t octave::vformat (std::ostream &os, const std::string &enc, const char *fmt, va_list args)