Ignore:
Timestamp:
07/21/06 14:47:49 (18 years ago)
Author:
navarro
Message:

english and nicer header (2a)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/LECTURE/inverse_binary.html

    r138 r142  
    696696      </div> 
    697697 
    698       <div id="file_comments"></div> 
     698      <div id="file_comments"> 
     699 Inverse function of the binary.pro function => given a 
     700 input array of 0/1, return its corresponding byte/integer/long 
     701 representation 
     702</div> 
    699703 
    700704       
     
    711715        <div class="routine_details" id="_inverse_binary"> 
    712716 
    713           <h2><a class="top" href="#container">top</a>inverse_binary </h2> 
     717          <h2><a class="top" href="#container">top</a>inverse_binary <span class="categories"> 
     718</span></h2> 
    714719         
    715720          <p class="header"> 
     
    717722         
    718723          <div class="comments"> 
    719  NAME: inverse_binary 
    720  
    721  PURPOSE: inverse function of the binary.pro function => given a 
    722  input array of 0/1, return its corresponding byte/integer/long 
    723  representation 
    724  
    725  CATEGORY: 
    726  
    727  CALLING SEQUENCE: res = inverse_binary(binnum) 
    728  
    729  INPUTS:  
    730     binnum must be a binary type array containing only 0 and 1. 
    731     According to binary.pro outputs, binnum array must have the 
    732     following dimensions values: (8, t, d1, d2...) 
    733     t gives the output type: t = 1 -> byte 
     724</div> 
     725 
     726          <h3>Return value</h3><div class="preformat">  
     727 A byte/integer/long array with (d1, d2...) dimensions 
     728</div> 
     729 
     730           
     731            <h3>Parameters</h3> 
     732         
     733             
     734            <h4 id="_inverse_binary_param_binnumb">binnumb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     735              <span class="attr">in</span> 
     736               
     737               
     738              <span class="attr">required</span> 
     739               
     740               
     741               
     742               
     743            </h4> 
     744         
     745          <div class="comments"> 
     746 Must be a binary type array containing only 0 and 1. 
     747 According to binary.pro outputs, binnum array must have the 
     748 following dimensions values: (8, t, d1, d2...) 
     749 t gives the output type: t = 1 -> byte 
    734750                             t = 2 -> integer 
    735751                             t = 4 -> long 
    736752     
    737      (d1, d2...) are the output dimensions 
    738  
    739  KEYWORD PARAMETERS: no 
    740  
    741  OUTPUTS: a byte/integer/long array with (d1, d2...) dimensions 
    742  
    743  COMMON BLOCKS: no 
    744  
    745  RESTRICTIONS:the binary number can represent only byte/integer/long 
    746  
    747  EXAMPLE: 
     753  (d1, d2...) are the output dimensions 
     754 
     755</div> 
     756             
     757 
     758           
     759 
     760           
     761 
     762          <h3>Examples</h3><div class="preformat"> 
    748763 
    749764     IDL> a=indgen(5) 
     
    770785     IDL> print, inverse_binary(b) 
    771786            0       1       2       3       4 
    772  
    773  MODIFICATION HISTORY:</div> 
    774  
    775            
    776  
    777            
    778             <h3>Parameters</h3> 
    779          
    780              
    781             <h4 id="_inverse_binary_param_binnumb">binnumb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    782                
    783                
    784                
    785                
    786                
    787                
    788                
    789                
    790             </h4> 
    791          
    792           <div class="comments"></div> 
    793              
    794  
    795            
    796  
    797            
    798  
    799            
    800            
    801            
    802            
    803            
    804            
    805            
    806            
    807            
    808            
    809            
    810            
     787</div> 
     788          <h3>Version history</h3> 
     789           
     790          <h4>Version</h4><div class="preformat"> 
     791 $Id$ 
     792</div> 
     793          <h4>History</h4><div class="preformat"></div> 
     794           
     795           
     796          <h3>Known issues</h3> 
     797           
     798           
     799           
     800          <h4>Restrictions</h4><div class="preformat"> 
     801 The binary number can represent only byte/integer/long 
     802</div> 
    811803         
    812804           
Note: See TracChangeset for help on using the changeset viewer.