GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
tsearch.cc File Reference
#include <cmath>
#include "lo-ieee.h"
#include "defun.h"
#include "error.h"
#include "ovl.h"
Include dependency graph for tsearch.cc:

Go to the source code of this file.

Macros

#define REF(x, k, i)   x(static_cast<octave_idx_type> (elem((k), (i))) - 1)
 

Functions

OCTAVE_EXPORT octave_value_list Ftsearch (const octave_value_list &args, int)
 
double max (double a, double b, double c)
 
double min (double a, double b, double c)
 

Macro Definition Documentation

◆ REF

#define REF (   x,
  k,
 
)    x(static_cast<octave_idx_type> (elem((k), (i))) - 1)

Definition at line 54 of file tsearch.cc.

Function Documentation

◆ Ftsearch()

OCTAVE_EXPORT octave_value_list Ftsearch ( const octave_value_list args,
int   
)

Definition at line 73 of file tsearch.cc.

References elem, eps(), lo_ieee_nan_value(), max(), min(), ovl(), print_usage(), REF, x, and xi.

◆ max()

double max ( double  a,
double  b,
double  c 
)
inline

Definition at line 38 of file tsearch.cc.

Referenced by Ftsearch().

◆ min()

double min ( double  a,
double  b,
double  c 
)
inline

Definition at line 46 of file tsearch.cc.

Referenced by Ftsearch().