fill_corners: Systematically fills a given mesh array (cmesh) with...

Description Usage Arguments Value

View source: R/fill_corners.R

Description

Systematically fills a given mesh array (cmesh) with d-dimensional points representing every corner of a d-dimensional hypercube. The function fills the successive dimensions of each point via depth-first recursion across all d dimensions.

Usage

1
fill_corners(cmesh, shock, shk_curs, dim_curs)

Arguments

cmesh

The mesh to be filled with corner points

shock

The current shock vector being filled

shk_curs

Index in cmesh of the shock currently being filled

dim_curs

Index in the current shock of the dimension being filled

Value

A list of: cmesh - d x 2^d array of corner points being filled, shk_curs - last point in cmesh that was filled


SyScSelection documentation built on Oct. 26, 2020, 5:08 p.m.