ndd_image_by_transf


[ Synopsis | Description | Return values | Diagnostics | See also | Back to the NDD package documentation ]

Synopsis

#include "lash-ndd.h"

ndd *ndd_image_by_transf(ndd *nd, linear_transf *tr);

Description

This function computes the image of the set represented by the NDD *nd by the linear transformation *tr. It is currently only implemented for NDDs that operate serially. The NDD *nd and the transformation *tr are not modified.

Return values

In the case of success, this function returns a pointer to a newly created NDD. In the case of an error, it returns a NULL pointer and sets lash_errno.

Diagnostics

LASH_ERR_NOT_INIT
The package has not been initialized.
LASH_ERR_NO_MEM
Not enough memory.
LASH_ERR_CORRUPT
Corrupt transformation structure.
LASH_ERR_DIMENSION
Dimension mismatch.
LASH_ERR_OVERFLOW
Arithmetic overflow.
LASH_ERR_NOT_IMPL
Handling of non-serial NDDs not yet implemented.

See also

linear_transf, ndd.

[ Synopsis | Description | Return values | Diagnostics | See also | Back to the NDD package documentation ]