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

https://github.com/cran/multivariance
12 October 2021, 01:43:21 UTC
  • Code
  • Branches (11)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/1.0.5
    • refs/tags/1.1.0
    • refs/tags/1.2.0
    • refs/tags/1.2.1
    • refs/tags/2.0.0
    • refs/tags/2.1.0
    • refs/tags/2.2.0
    • refs/tags/2.3.0
    • refs/tags/2.4.0
    • refs/tags/2.4.1
    No releases to show
  • f6253a0
  • /
  • src
  • /
  • RcppExports.cpp
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:e98c54bcd976920e31e7ad26cf1350deaa460d2f
origin badgedirectory badge Iframe embedding
swh:1:dir:83e76dd6fde8b8a20946d0df622ec773bd99d5ff
origin badgerevision badge
swh:1:rev:a148f1f16b1aed5e55da85e3741b46f0a6899802
origin badgesnapshot badge
swh:1:snp:c5bf23010a433f55124ad01cf6314106162422e4

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.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: a148f1f16b1aed5e55da85e3741b46f0a6899802 authored by Björn Böttcher on 10 December 2020, 14:50:03 UTC
version 2.4.0
Tip revision: a148f1f
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
}
// doubleCenterBiasCorrected
NumericMatrix doubleCenterBiasCorrected(const NumericMatrix& x);
RcppExport SEXP _multivariance_doubleCenterBiasCorrected(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(doubleCenterBiasCorrected(x));
    return rcpp_result_gen;
END_RCPP
}
// doubleCenterBiasCorrectedUpper
NumericVector doubleCenterBiasCorrectedUpper(const NumericMatrix& x);
RcppExport SEXP _multivariance_doubleCenterBiasCorrectedUpper(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(doubleCenterBiasCorrectedUpper(x));
    return rcpp_result_gen;
END_RCPP
}
// doubleCenterBiasCorrectedUpperLower
List doubleCenterBiasCorrectedUpperLower(const NumericMatrix& x, const int& n);
RcppExport SEXP _multivariance_doubleCenterBiasCorrectedUpperLower(SEXP xSEXP, SEXP nSEXP) {
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< const int& >::type n(nSEXP);
    rcpp_result_gen = Rcpp::wrap(doubleCenterBiasCorrectedUpperLower(x, n));
    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},
    {"_multivariance_doubleCenterBiasCorrected", (DL_FUNC) &_multivariance_doubleCenterBiasCorrected, 1},
    {"_multivariance_doubleCenterBiasCorrectedUpper", (DL_FUNC) &_multivariance_doubleCenterBiasCorrectedUpper, 1},
    {"_multivariance_doubleCenterBiasCorrectedUpperLower", (DL_FUNC) &_multivariance_doubleCenterBiasCorrectedUpperLower, 2},
    {NULL, NULL, 0}
};

RcppExport void R_init_multivariance(DllInfo *dll) {
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
    R_useDynamicSymbols(dll, FALSE);
}

back to top

Software Heritage — Copyright (C) 2015–2025, 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