Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision a8a673ff6b5bbf21ff110579fb06b2dfb6236967 authored by Björn Böttcher on 18 June 2019, 11:20:03 UTC, committed by cran-robot on 18 June 2019, 11:20:03 UTC
version 2.2.0
1 parent 71cc2d6
  • Files
  • Changes
  • ec87f1f
  • /
  • src
  • /
  • RcppExports.cpp
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:a8a673ff6b5bbf21ff110579fb06b2dfb6236967
directory badge
swh:1:dir:be1a5d5b75d2f3729795e8a31fd52b3a19baea83
content badge
swh:1:cnt:3c024776d8ac33a67cdc901b7c37f66201f14bb1

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
RcppExports.cpp
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include <Rcpp.h>

using namespace Rcpp;

// fastdist
NumericMatrix fastdist(const NumericMatrix& x);
RcppExport SEXP _multivariance_fastdist(SEXP xSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< const NumericMatrix& >::type x(xSEXP);
    rcpp_result_gen = Rcpp::wrap(fastdist(x));
    return rcpp_result_gen;
END_RCPP
}
// doubleCenterSymMat
NumericMatrix doubleCenterSymMat(const NumericMatrix& x, bool& normalize);
RcppExport SEXP _multivariance_doubleCenterSymMat(SEXP xSEXP, SEXP normalizeSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< const NumericMatrix& >::type x(xSEXP);
    Rcpp::traits::input_parameter< bool& >::type normalize(normalizeSEXP);
    rcpp_result_gen = Rcpp::wrap(doubleCenterSymMat(x, normalize));
    return rcpp_result_gen;
END_RCPP
}
// fastEuclideanCdm
NumericMatrix fastEuclideanCdm(const NumericMatrix& x, bool& normalize);
RcppExport SEXP _multivariance_fastEuclideanCdm(SEXP xSEXP, SEXP normalizeSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< const NumericMatrix& >::type x(xSEXP);
    Rcpp::traits::input_parameter< bool& >::type normalize(normalizeSEXP);
    rcpp_result_gen = Rcpp::wrap(fastEuclideanCdm(x, normalize));
    return rcpp_result_gen;
END_RCPP
}
// match_rows
NumericVector match_rows(NumericMatrix& A, NumericMatrix& B);
RcppExport SEXP _multivariance_match_rows(SEXP ASEXP, SEXP BSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericMatrix& >::type A(ASEXP);
    Rcpp::traits::input_parameter< NumericMatrix& >::type B(BSEXP);
    rcpp_result_gen = Rcpp::wrap(match_rows(A, B));
    return rcpp_result_gen;
END_RCPP
}

static const R_CallMethodDef CallEntries[] = {
    {"_multivariance_fastdist", (DL_FUNC) &_multivariance_fastdist, 1},
    {"_multivariance_doubleCenterSymMat", (DL_FUNC) &_multivariance_doubleCenterSymMat, 2},
    {"_multivariance_fastEuclideanCdm", (DL_FUNC) &_multivariance_fastEuclideanCdm, 2},
    {"_multivariance_match_rows", (DL_FUNC) &_multivariance_match_rows, 2},
    {NULL, NULL, 0}
};

RcppExport void R_init_multivariance(DllInfo *dll) {
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
    R_useDynamicSymbols(dll, FALSE);
}
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API