ndd_union, ndd_merge[ Synopsis | Description | Return values | Diagnostics | See also | Back to the NDD package documentation ] |
#include "lash-ndd.h"
ndd *ndd_union(ndd *nd1, ndd *nd2);
int ndd_merge(ndd *nd1, ndd *nd2);
These functions compute an NDD representing the union of the sets represented by the two NDDs *nd1 and *nd2. These two NDDs must use the same base, the same dimension, and operate in the same direction.
The function ndd_union does not modify *nd1 or *nd2. The function ndd_merge replaces *nd1 by the result of the operation, and does not modify *nd2.
[ Synopsis | Description | Return values | Diagnostics | See also | Back to the NDD package documentation ] |