DATASERV (kappserv) functions


LIBRARY ROUTINE

kpds_initialize_map - preset map segment to constant

LIBRARY CALL

int kpds_initialize_map(
   kobject object,
   double real,
   double imag)

INPUT

OUTPUT

none

RETURN VALUE

TRUE on success, FALSE otherwise

DESCRIPTION

This routine initializes the entire map segment to a specified value. The last two arguments are real and imaginary components of a complex number that is the value that the data will be initialized to. The data type of the map segment at the time this function is called will determine how the complex number is used. A non-complex datatype means that the real part only will be used. A non-floating-point data type means that the integer part of the real argument will be used.

This function will work independent of the mapping mode of the object.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/objects/library/kappserv/src/pds_map.c

SEE ALSO

kappserv(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.