Learn R Programming

meshsimp (version 0.1.1)

get.quantity.of.information: Get the quantity of information associated with each element of the triangulation, from an object of class RcppSimplification.

Description

For each triangle \(T\) in the mesh, the associated quantity of information \(N_T\) is defined as: $$N_T := n_f + \frac{1}{2}n_e + \frac{1}{\# \big( T_{v_1} \big)} n_1 + \frac{1}{\# \big( T_{v_2} \big)} n_2 + \frac{1}{\# \big( T_{v_3} \big)} n_3 \, ,$$ where \(n_f\) and \(n_e\) denote the number of data points associated with the face and the edges of the triangle \(T\), respectively. For \(j = 1, \, 2, \, 3\), \(n_j\) is the number of data points associated with the \(j\)-th vertex \(v_j\) of \(T\), \(T_{v_j}\) is the patch of elements associated with \(v_j\) (i.e., the elements sharing \(v_j\)), and \(\# \big( T_{v_j} \big)\) denotes the cardinality of the patch \(T_{v_j}\).

Usage

get.quantity.of.information(x)

Arguments

x

An object of class RcppSimplification.

Value

A #elements-by-1 vector, storing the quantity of information for each element.

See Also

simplify.mesh.2.5D