Description Usage Arguments Value
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.
1  | fill_corners(cmesh, shock, shk_curs, dim_curs)
 | 
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  | 
A list of: cmesh - d x 2^d array of corner points being filled, shk_curs - last point in cmesh that was filled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.