GNU Octave  9.1.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"

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_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 52 of file tsearch.cc.

Function Documentation

◆ Ftsearch()

octave_value_list Ftsearch ( const octave_value_list args,
int   
)

Definition at line 71 of file tsearch.cc.

References eps(), print_usage(), and x.

◆ max()

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

Definition at line 41 of file tsearch.cc.

◆ min()

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

Definition at line 47 of file tsearch.cc.