GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
__dsearchn__.cc File Reference
#include <cmath>
#include <string>
#include "defun.h"
#include "error.h"
#include "ovl.h"

Go to the source code of this file.

Macros

#define DIST(dd, y, yi, m)
 

Functions

octave_value_list F__dsearchn__ (const octave_value_list &args, int)
 

Macro Definition Documentation

◆ DIST

#define DIST (   dd,
  y,
  yi,
 
)
Value:
dd = 0.0; \
for (octave_idx_type k = 0; k < m; k++) \
{ \
double yd = y[k] - yi[k]; \
dd += yd * yd; \
} \
dd = sqrt (dd)

Function Documentation

◆ F__dsearchn__()