https://github.com/cran/spatstat
Raw File
Tip revision: 43e2374b0fee50899d3e1a4de55422c1ec521d04 authored by Adrian Baddeley on 29 January 2018, 18:45:23 UTC
version 1.55-0
Tip revision: 43e2374
dist2dpath.c
#include <R.h>
#include <R_ext/Utils.h>

/*
  given matrix of edge lengths
  compute matrix of shortest-path distances

  Uses dist2dpath.h
*/

#define FNAME Ddist2dpath
#define DTYPE double
#define FLOATY

#include "dist2dpath.h"

#undef FNAME
#undef DTYPE
#undef FLOATY

#define FNAME Idist2dpath
#define DTYPE int

#include "dist2dpath.h"

back to top