NAME
identity_mat - provide (scaled) identity matrix
PROTOTYPE
unitptr identity_mat( int iDim, unitptr uHost)
ARGUMENTS
- int iDim
- dimension of identity matrix
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in[1]:
- scaling factor
- X_out[iDim*iDim]:
- (packed output field 0) elements of the
identity matrix.
DESCRIPTION:
Provides the X_in[0] times the constant identity matrix.
FILE
/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../foldersrc/nst_matrix.c