Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- interp

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
interp
Synopsis
/infobank/programs/share/interp.for
Description
  Subroutine to interpolate value between 2 values based on integer times.

        
       
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call interp                           (with the following arguments)
         Time1                       [variable i*4 r]
         Value1                      [variable r*4 r]
         Time2                       [variable i*4 r]
         Value2                      [variable r*4 r]
         InterpTime3                 [variable i*4 r]
         InterpValue3                [variable r*4 sr]
                    
    
SUBROUTINES
      None

                                                      
    
DISCLAIMER
  Although this program has been used by the U.S. Geological Survey,

  no warranty, expressed or implied, is made by the Survey as to the
  accuracy and functioning of the program and related program
  material nor shall the fact of distribution constitute any such
  warranty, and no responsibility is assured by the Survey in
  connection therewith.
   
    
AUTHOR
  Carolyn Hayashida Degnan, 08/31/83

   
  Changed to input integer times instead of real times, deleted
  arithmetic 'if' statement in favor of a case structure.
      Ed Maple, 1/21/85
                                
  Modified for MAT   
      Clint Steele      2/12/85
                 
  Modified for DRS$SHARE and UNIX Compatibility
    Jean Riordan 2/16/88
    
Reads
Writes
Opens
Calls

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/share/interp.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:36:49 PDT 2013  (chd)