tensor_grid_display


tensor_grid_display, a MATLAB code which can generate and display 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 dimensio 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 computer code and data files made available on this web page are distributed under the GNU LGPL license.

Languages:

tensor_grid_display is available in a MATLAB version.

Related Data and Programs:

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.

gl_display, a MATLAB code which displays points on various grids derived from the Gauss-Legendre rule.

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.

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

sequence_streak_display, a MATLAB code which displays a streak plot of a numeric sequence;

tensor_grid_display_test

Source Code:


Last revised on 27 April 2019.