unpack.field: Convert a vector to a function on the plane

View source: R/generators.R

unpack.fieldR Documentation

Convert a vector to a function on the plane

Description

unpack.field takes a vector and produces a 2D array.

Usage

unpack.field(phi, nx, ny)

Arguments

phi

Tabulated function

nx

Number of grid cells in the x direction

ny

Number of grid cells in the y direction

Details

length(phi) must equal nx * ny.


Uffe-H-Thygesen/SDEtools documentation built on Jan. 15, 2025, 6:41 p.m.