ndd_image_by_transf_info


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

Synopsis

#include "lash-ndd.h"

ndd *ndd_image_by_transf_info(ndd *nd, linear_tr_info *tr);

Description

This function computes the image of the set represented by the NDD *nd by the linear transformation described by the information structure *tr. It is currently only implemented for NDDs that operate serially. The NDD *nd and the structure *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_BASE
Base mismatch.
LASH_ERR_BAD_TYPE
Type mismatch.
LASH_ERR_NOT_IMPL
Handling of non-serial NDDs not yet implemented.

See also

linear_tr_info, ndd_create_transf_info, ndd.

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