Learn R Programming

fmesher (version 0.3.0)

fm_int_multi_sampler: Multi-domain sampler integration

Description

Combine integration over different domains

Usage

fm_int_multi_sampler(domain, samplers, ...)

Value

An object with integration points and weights

Arguments

domain

A list of named domains

samplers

A named list of samplers

...

Passed on to each fm_int() call.

Examples

Run this code
fm_int_multi_sampler(
  domain = list(x = fm_mesh_1d(1:4), y = 11:12),
  samplers = tibble::tibble(
    x = rbind(c(1, 3), c(2, 4)),
    y = c(12, 11)
  )
)

Run the code above in your browser using DataLab