... Category: MATH File: rank.c Author: K.G. Begeman Description: The RANK.. routines index an array ARRIN of length N, i.e. outputs an integer array INDX such that ARRIN(INDX(J)+1) is in ascending or descending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ... The folowing routines are available: SUBROUTINE RANKIA( ARRIN, INDX, N ) indexes an integer array in ascending order. ... SUBROUTINE RANKRA( ARRIN, INDX, N ) indexes a single precision array in ascending order. ...
Function: RANKDA Purpose: Indexes a double precision array in ascending order. Category: MATH File: rank.c Author: K.G. Begeman Use: CALL RANKIA( ARRIN , Input DOUBLE PRECISION ARRAY INDX , Output INTEGER ARRAY N ) Input INTEGER ARRIN Array to be indexed. INDX Sorted index. ... Description: RANKDA indexes an array ARRIN of length N, i.e. outputs the array INDX such that ARRIN(INDX(J)+1) is in ascending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ...
Function: RANKDD Purpose: Indexes a double precision array in descending order. Category: MATH File: rank.c Author: K.G. Begeman Use: CALL RANKDD( ARRIN , Input DOUBLE PRECISION ARRAY INDX , Output INTEGER ARRAY N ) Input INTEGER ARRIN Array to be indexed. INDX Sorted index. ... Description: RANKDD indexes an array ARRIN of length N, i.e. outputs the array INDX such that ARRIN(INDX(J)+1) is in descending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ...
Function: RANKIA Purpose: Indexes an integer array in ascending order. Category: MATH File: rank.c Author: K.G. Begeman Use: CALL RANKIA( ARRIN , Input INTEGER ARRAY INDX , Output INTEGER ARRAY N ) Input INTEGER ARRIN Array to be indexed. ... Description: RANKIA indexes an array ARRIN of length N, i.e. outputs the array INDX such that ARRIN(INDX(J)+1) is in ascending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ... Updates: May 15, 1990: KGB, Document created. ...
Function: RANKID Purpose: Indexes an integer array in descending order. Category: MATH File: rank.c Author: K.G. Begeman Use: CALL RANKID( ARRIN , Input INTEGER ARRAY INDX , Output INTEGER ARRAY N ) Input INTEGER ARRIN Array to be indexed. ... Description: RANKID indexes an array ARRIN of length N, i.e. outputs the array INDX such that ARRIN(INDX(J)+1) is in descending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ... Updates: May 15, 1990: KGB, Document created. ...
Function: RANKRA Purpose: Indexes a real array in ascending order. Category: MATH File: rank.c Author: K.G. Begeman Use: CALL RANKRA( ARRIN , Input REAL ARRAY INDX , Output INTEGER ARRAY N ) Input INTEGER ARRIN Array to be indexed. INDX Sorted index. ... Description: RANKRA indexes an array ARRIN of length N, i.e. outputs the array INDX such that ARRIN(INDX(J)+1) is in ascending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ...
Function: RANKRD Purpose: Indexes a real array in descending order. Category: MATH File: rank.c Author: K.G. Begeman Use: CALL RANKRD( ARRIN , Input REAL ARRAY INDX , Output INTEGER ARRAY N ) Input INTEGER ARRIN Array to be indexed. INDX Sorted index. ... Description: RANKRD indexes an array ARRIN of length N, i.e. outputs the array INDX such that ARRIN(INDX(J)+1) is in descending order for J = 1, 2, .. N. The input quantities N and ARRIN are not changed. ...
Function: RELLUN Purpose: This routine centralizes the use of FORTRAN logical unit numbers in a task. It releases a logical unit number. Category: FILES File: reqlun.c Author: K.G. Begeman Use: CALL RELLUN( LUN ) Input/Output INTEGER LUN If positive RELLUN releases the logical unit number, even if it was not reserved. All other values will cause a fatal error. Related Docs: reqlun.dc3 Updates: Aug 30, 1990: KGB, document created.
Name: prompter Purpose: Private to Hermes. Prompt user and process command. File: prompter.c Author: J.P. Terlouw Use: int prompter(char* prompt, int context); The routine returns the number of characters typed. Arguments: prompt - the prompt string context - either FREE or KEYPROMPT In the case of KEYPROMPT the prompt is assumed to be part of the command e.g. Userinp keywords. Updates: 25-Feb-90 -- original document
Document: PRESET Purpose: Describes the available routines which fill an array with a value. Category: ARRAY File: preset.c Author: K.G. Begeman Description: The available routines are the following: PRESETI( SOURCE, DESTIN, NITEMS ) fills an integer array PRESETL( SOURCE, DESTIN, NITEMS ) fills a logical array PRESETR( SOURCE, DESTIN, NITEMS ) fills a real array PRESETD( SOURCE, DESTIN, NITEMS ) fills a double array Updates: Jul 29, 1989: KGB, Document created
Subroutine: PRESETD Purpose: Presets a double precision array to a constant value. Category: ARRAY File: preset.c Author: K.G. Begeman Use: CALL PRESETD( SOURCE, Input DOUBLE PRECISION DESTIN, Output DOUBLE ARRAY NITEMS ) Input INTEGER SOURCE Value with which to fill DESTIN. DESTIN Array which receives SOURCE. NITEMS Number of items to fill in DESTIN. Updates: Jul 29, 1989: KGB, Document created.
Subroutine: PRESETI Purpose: Presets an integer array to a constant value. Category: ARRAY File: preset.c Author: K.G. Begeman Use: CALL PRESETI( SOURCE, Input INTEGER DESTIN, Output INTEGER ARRAY NITEMS ) Input INTEGER SOURCE Value with which to fill DESTIN. DESTIN Array which receives SOURCE. NITEMS Number of items to fill in DESTIN. Updates: Jul 29, 1989: KGB, Document created.
Subroutine: PRESETL Purpose: Presets a logical array to a constant value. Category: ARRAY File: preset.c Author: K.G. Begeman Use: CALL PRESETL( SOURCE, Input LOGICAL DESTIN, Output LOGICAL ARRAY NITEMS ) Input INTEGER SOURCE Value with which to fill DESTIN. DESTIN Array which receives SOURCE. NITEMS Number of items to fill in DESTIN. Updates: Jul 29, 1989: KGB, Document created.
Subroutine: PRESETR Purpose: Presets a single precision array to a constant value. Category: ARRAY File: preset.c Author: K.G. Begeman Use: CALL PRESETR( SOURCE, Input REAL DESTIN, Output REAL ARRAY NITEMS ) Input INTEGER SOURCE Value with which to fill DESTIN. DESTIN Array which receives SOURCE. NITEMS Number of items to fill in DESTIN. Updates: Jul 29, 1989: KGB, Document created.
Subroutine: INITPTR Purpose: Pointer handling within parts of subset. File: initptr.c Author: K.G. Begeman Use: CALL INITPTR( RFLO, Input INTEGER ARRAY RFHI, Input INTEGER ARRAY SFLO, Input INTEGER ARRAY SFHI, Input INTEGER ARRAY NDIM, Input INTEGER NR, Input INTEGER NT ) In/Output INTEGER RFLO Array with the lower coordinates of readframe. ... GDSI_READ returns the number of data values actually read, which is input to INITPTR in order to initialize the logical functions INSIDEPTR and OUTSIDEPTR. ...
Subroutine: MINMAX2 Purpose: Finds the minimum and maximum value in a data array of reals, counting the BLANK values. File: minmax.c Author: K.G. Begeman Use: CALL MINMAX2( DATA , Input REAL ARRAY NDAT , Input INTEGER AMIN , Output REAL AMAX , Output REAL NBLANK ) Output INTEGER DATA Data array to operate on. ... AMIN Minimum value in DATA array. AMAX Maximum value in DATA array. ... Note: If all values in the data array have the BLANK value, the minimum and maximum will also be set to BLANK. ...
Subroutine: MINMAX3 Purpose: Finds the minimum and maximum value in a data array of reals, counting the BLANK values. ... File: minmax.c Author: K.G. Begeman Use: CALL MINMAX3( DATA , Input REAL ARRAY NDAT , Input INTEGER AMIN , In/Output REAL AMAX , In/Output REAL NBLANK, In/Output INTEGER COUNT ) In/Output INTEGER DATA Data array to operate on. NDAT Number of data points in DATA. ... Note: If all values in the data array have the BLANK value, the minimum and maximum will also be set to BLANK. ...
Subroutine: MINMAX4 Purpose: Finds the minimum and maximum value and their positions in a data array of reals, counting the BLANK values. ... File: minmax.c Author: K.G. Begeman Use: CALL MINMAX4( DATA , Input REAL ARRAY NDAT , Input INTEGER AMIN , In/Output REAL AMAX , In/Output REAL IMIN , In/Output INTEGER IMAX , In/Output INTEGER NBLANK, In/Output INTEGER COUNT ) In/Output INTEGER DATA Data array to operate on. NDAT Number of data points in DATA. ... NBLANK Total number of blanks. ...
Document: MOVE Purpose: Describes the routines which copy data from one array into another. Category: ARRAY File: move.c Author: K.G. Begeman Description: The available routines which copy data are the following: MOVEI( SOURCE, DESTIN, NITEMS ) copies integers MOVEL( SOURCE, DESTIN, NITEMS ) copies logicals MOVER( SOURCE, DESTIN, NITEMS ) copies reals MOVED( SOURCE, DESTIN, NITEMS ) copies doubles Notes: The arrays to be transferred may overlap. Updates: Jul 29, 1989 : KGB, Document created.
Subroutine: MOVED Purpose: Copies double precision reals from one array to another. Category: ARRAY File: move.c Author: K.G. Begeman Use: CALL MOVED( SOURCE, Input DOUBLE ARRAY DESTIN, Output DOUBLE ARRAY NITEMS ) Input INTEGER SOURCE input array to be copied to DESTIN. DESTIN output array. NITEMS Number of elements to be copied. Notes: The arrays to be transferred may overlap. Updates: Jul 29, 1989 : KGB, Document created.