R/RcppExports.R

Defines functions NMF CppMatAddScalar CppMatWiseDiv CppMatWiseMul CppMatMult

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

CppMatMult <- function(m1, m2) {
    .Call('_MOJITOO_CppMatMult', PACKAGE = 'MOJITOO', m1, m2)
}

CppMatWiseMul <- function(m1, m2) {
    .Call('_MOJITOO_CppMatWiseMul', PACKAGE = 'MOJITOO', m1, m2)
}

CppMatWiseDiv <- function(m1, m2) {
    .Call('_MOJITOO_CppMatWiseDiv', PACKAGE = 'MOJITOO', m1, m2)
}

CppMatAddScalar <- function(m, eps = 1e-8) {
    .Call('_MOJITOO_CppMatAddScalar', PACKAGE = 'MOJITOO', m, eps)
}

NMF <- function(W, Q, S, n, nclass, maxiter = 200L, display_progress = TRUE) {
    .Call('_MOJITOO_NMF', PACKAGE = 'MOJITOO', W, Q, S, n, nclass, maxiter, display_progress)
}
CostaLab/MOJITOO documentation built on Oct. 17, 2023, 12:06 a.m.