代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/169496/9854710
txt getnearestpoint.txt
Listing 3. Finding the Nearest
Point on a Line Segment.
// Procedure: GetNearestPoint
// Purpose: Find the nearest point on a line segment
// Arguments: Two endpoints to a line segment a and b,
www.eeworm.com/read/161461/10407200
htm the k-nearest-neighbor application project.htm
The k-nearest-neighbor Applicatio
www.eeworm.com/read/304962/3782529
h segment_delaunay_graph_nearest_site_2.h
// Copyright (c) 2006 Foundation for Research and Technology-Hellas (Greece).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you may redistribute it under
// the terms of the
www.eeworm.com/read/451140/7470755
c mst.c
#include
#include "util.h"
#include "vpr_types.h"
#include "globals.h"
#include "mst.h"
#define ABS_DIFF(X, Y) (((X) > (Y))? ((X) - (Y)):((Y) - (X)))
static int min_dist_from_mst(int node
www.eeworm.com/read/292719/8338354
c mst.c
#include
#include "util.h"
#include "vpr_types.h"
#include "globals.h"
#include "mst.h"
#define ABS_DIFF(X, Y) (((X) > (Y))? ((X) - (Y)):((Y) - (X)))
static int min_dist_from_mst(int node
www.eeworm.com/read/444528/6965704
cpp ann_test.cpp
//----------------------------------------------------------------------
// File: ann_test.cpp
// Programmer: Sunil Arya and David Mount
// Description: test program for ANN (approximate nearest ne
www.eeworm.com/read/314681/13561797
m fnn_ml2.m
function tnnmat=fnn_ml2(xcoord, ycoord, m, n, istart)
%
%fnn_ml2(xcoord, ycoord, m, n, istart)
%
%This function computes m spatiotemporal nearest neighbors for each observation from observation 1
www.eeworm.com/read/301999/13844898
benchmarks
The algorithm used in cluster version up to 2.3 was not very sophisticated.
It constructs a triangular distance matrix which is repeatedly searched
linearly for the shortest distance pair of data poi
www.eeworm.com/read/185445/9037562
m c1_1_1.m
%filename c1_1_1.m
x=[0:0.5*pi:2*pi 2*pi+0.6*pi:0.4*pi:4*pi];
y=sin(x);xi=0:0.05*pi:4*pi;
y_nearest=interp1(x,y,xi,'nearest');
y_linear=interp1(x,y,xi);
y_spline=interp1(x,y,xi,'spline');
y_cub
www.eeworm.com/read/291883/8390115
m gridinterp.m
function A2 = gridinterp(A,x,z,x2,z2,method)
% gridinterp.m
%
% This function interpolates the electrical property matrix A (having row and column position
% vectors x and z, respectively) to for