Learn R Programming

mvmesh (version 1.2)

mvmeshmisc: Miscellaneous functions used by/with mvmesh

Description

Utilities for working with mvmesh objects

Usage

mvmeshFromSimplices(  S )
mvmeshFromSVI(  V, SVI )
mvmeshFromVertices( V )
mvmeshCombine( mesh1, mesh2 )
rtessellation( n, S, weights=rep(1,dim(S)[3]) )
uniqueRowsFromDoubleArray( A )

Arguments

S
simplices, an (vps x n x nS) array, with S[ , ,k] specifying the vertices of k-th simplex
V
(nV x n) matrix giving the distinct vertices in the list of simplices
SVI
integer (vps x nS) matrix which specifies the indices of the vertices that make up the simplices in S
mesh1, mesh2
objects of class "mvmesh"
n
number of vectors to simulate
weights
weights used for simulation
A
a matrix of doubles

Value

  • undocumented

Warning

This is experimental code, and not throughly tested. Function names, arguments, and what they do may change in the future.

Details

Experimental functions. They allow one to build mvmesh objects manually by specifying just simplices (mvmeshFromSimplices), or just vertices (mvmeshFromVertices), or vertices and grouping information (mvmeshFromSVI). mvmeshCombines combines two meshes. The resulting objects can usually be plotted directly. rtessellation allows you to sample from an mvmesh object.

Examples

Run this code
demo(mvmeshmisc)

Run the code above in your browser using DataLab