------------------------------------------------------------------------ IMSL Name: SUMAG (Single precision version) Revised: June 18, 1991 Purpose: This routine handles MATH/LIBRARY and STAT/LIBRARY type SINGLE PRECISION options. Usage: CALL SUMAG (PRODNM, ICHP, IACT, NUMOPT, IOPTS, SVALS) Arguments: PRODNM - Product name. Use either ``MATH'' or ``STAT.'' (Input) ICHP - Chapter number of the routine that uses the options. (Input) IACT - 1 if user desires to ``get'' or read options, or 2 if user desires to ``put'' or write options. (Input) NUMOPT - Size of IOPTS. (Input) IOPTS - Integer array of size NUMOPT containing the option numbers to ``get'' or ``put.'' (Input) SVALS - Real array containing the option values. These values are arrays corresponding to the individual options in IOPTS in sequential order. The size of SVALS is the sum of the sizes of the individual options. (Input/Output) Remarks: 1. Users can normally avoid reading about options when first using a routine that calls SUMAG. 2. Let I be any value between 1 and NUMOPT. A negative value of IOPTS(I) refers to option number -IOPTS(I) but with a different effect: For a ``get'' operation, the default values are returned in SVALS. For a ``put'' operation, the default values replace the current values. In the case of a ``put,'' entries of SVALS are not allocated by the user and are not used by SUMAG. 3. Both positive and negative values of IOPTS can be used. 4. Floating Point Options 1 This value is used for testing the installation of SUMAG by other IMSL software. Default value is 3.0E0. GAMS: R Chapter: MATH/LIBRARY Utilities Page No.: MATH/LIBRARY User's Manual page 1324 ------------------------------------------------------------------------ IMSL Name: SUMAG (Single precision version) Revised: June 18, 1991 Purpose: This routine handles MATH/LIBRARY and STAT/LIBRARY type SINGLE PRECISION options. Usage: CALL SUMAG (PRODNM, ICHP, IACT, NUMOPT, IOPTS, SVALS) Arguments: PRODNM - Product name. Use either ``MATH'' or ``STAT.'' (Input) ICHP - Chapter number of the routine that uses the options. (Input) IACT - 1 if user desires to ``get'' or read options, or 2 if user desires to ``put'' or write options. (Input) NUMOPT - Size of IOPTS. (Input) IOPTS - Integer array of size NUMOPT containing the option numbers to ``get'' or ``put.'' (Input) SVALS - Real array containing the option values. These values are arrays corresponding to the individual options in IOPTS in sequential order. The size of SVALS is the sum of the sizes of the individual options. (Input/Output) Remarks: 1. Users can normally avoid reading about options when first using a routine that calls SUMAG. 2. Let I be any value between 1 and NUMOPT. A negative value of IOPTS(I) refers to option number -IOPTS(I) but with a different effect: For a ``get'' operation, the default values are returned in SVALS. For a ``put'' operation, the default values replace the current values. In the case of a ``put,'' entries of SVALS are not allocated by the user and are not used by SUMAG. 3. Both positive and negative values of IOPTS can be used. 4. Floating Point Options 1 This value is used for testing the installation of SUMAG by other IMSL software. Default value is 3.0E0. GAMS: R Chapter: MATH/LIBRARY Utilities Page No.: MATH/LIBRARY User's Manual page 1324