GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
__dsearchn__.cc File Reference
#include <iostream>
#include <fstream>
#include <string>
#include "lo-math.h"
#include "defun.h"
#include "error.h"
#include "ovl.h"
Include dependency graph for __dsearchn__.cc:

Go to the source code of this file.

Macros

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

Functions

OCTAVE_EXPORT octave_value_list F__dsearchn__ (const octave_value_list &args, int) ar
 

Macro Definition Documentation

#define DIST (   dd,
  y,
  yi,
  m 
)
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)
for(octave_idx_type n=0;n< hcv.numel();n++)
Definition: graphics.cc:10128
for large enough k
Definition: lu.cc:606
nd deftypefn *octave_map m
Definition: ov-struct.cc:2058
issues an error eealso double
Definition: ov-bool-mat.cc:594
the element is set to zero In other the statement xample y
Definition: data.cc:5342

Referenced by F__dsearchn__().

Function Documentation

OCTAVE_EXPORT octave_value_list F__dsearchn__ ( const octave_value_list args,
int   
)