tensor_grid_display


tensor_grid_display, a MATLAB code which displays the points of a 1D/2D/3D tensor product grid formed by the same rule in each dimension, but allowing the order of points in each dimension to vary.

For instance, it is legal to request a 3D grid using the Gauss-Legendre rule in each dimension, but with 3 points in X, 9 points in Y, and 5 points in Z.

Usage:

tensor_grid_display ( m, n_1d, rule )
where

The codes for quadrature rules are:

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

tensor_grid_display is available in a MATLAB version and an Octave version.

Related Data and Programs:

tensor_grid_display_test

cc_display, a MATLAB code which displays points on various grids derived from the Clenshaw Curtis rule.

circle_grid_display, a MATLAB code which reads a matrix of integers, and draws a corresponding grid of circles filled with color.

grid_display, a MATLAB code which reads a file of points on a grid or sparse grid, displays the grid and saves the image in a PNG file;

grids_display, a MATLAB code which reads two files of grids or sparse grids, displays the first with hollow blue dots, the second with red dots.

nested_sequence_display, a MATLAB code which displays a set of nested sequences.

quad_rule, a MATLAB code which defines quadrature rules for 1D domains.

Source Code:


Last revised on 27 April 2019.