R/RcppExports.R

Defines functions generate_partitions_full generate_partitions combinations_with_repetition alg_non_linear select_allowed_partitions

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

select_allowed_partitions <- function(equivalent_label, q_previous_layer, labels, partitions) {
    .Call(`_nn2poly_select_allowed_partitions`, equivalent_label, q_previous_layer, labels, partitions)
}

alg_non_linear <- function(coeffs_input, labels_input, labels_output, taylor_orders, current_layer, g, partitions_labels, partitions) {
    .Call(`_nn2poly_alg_non_linear`, coeffs_input, labels_input, labels_output, taylor_orders, current_layer, g, partitions_labels, partitions)
}

combinations_with_repetition <- function(n, k) {
    .Call(`_nn2poly_combinations_with_repetition`, n, k)
}

generate_partitions <- function(p, q_max) {
    .Call(`_nn2poly_generate_partitions`, p, q_max)
}

generate_partitions_full <- function(p, q_max) {
    .Call(`_nn2poly_generate_partitions_full`, p, q_max)
}

Try the nn2poly package in your browser

Any scripts or data that you put into this service are public.

nn2poly documentation built on May 29, 2024, 5:08 a.m.