home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / mesch12a.zip / oldnames.h < prev    next >
C/C++ Source or Header  |  1994-01-13  |  4KB  |  151 lines

  1.  
  2. /**************************************************************************
  3. **
  4. ** Copyright (C) 1993 David E. Steward & Zbigniew Leyk, all rights reserved.
  5. **
  6. **                 Meschach Library
  7. ** 
  8. ** This Meschach Library is provided "as is" without any express 
  9. ** or implied warranty of any kind with respect to this software. 
  10. ** In particular the authors shall not be liable for any direct, 
  11. ** indirect, special, incidental or consequential damages arising 
  12. ** in any way from use of the software.
  13. ** 
  14. ** Everyone is granted permission to copy, modify and redistribute this
  15. ** Meschach Library, provided:
  16. **  1.  All copies contain this copyright notice.
  17. **  2.  All modified copies shall carry a notice stating who
  18. **      made the last modification and the date of such modification.
  19. **  3.  No charge is made for this software or works derived from it.  
  20. **      This clause shall not be construed as constraining other software
  21. **      distributed on the same medium as this software, nor is a
  22. **      distribution fee considered a charge.
  23. **
  24. ***************************************************************************/
  25.  
  26.  
  27. /* macros for names used in versions 1.0 and 1.1 */
  28. /* 8/11/93 */
  29.  
  30.  
  31. #ifndef OLDNAMESH
  32. #define OLDNAMESH
  33.  
  34.  
  35. /* type IVEC */
  36.  
  37. #define get_ivec   iv_get
  38. #define freeivec   IV_FREE
  39. #define cp_ivec    iv_copy
  40. #define fout_ivec  iv_foutput
  41. #define out_ivec   iv_output
  42. #define fin_ivec   iv_finput
  43. #define in_ivec    iv_input
  44. #define dump_ivec  iv_dump
  45.  
  46.  
  47. /* type ZVEC */
  48.  
  49. #define get_zvec   zv_get
  50. #define freezvec   ZV_FREE
  51. #define cp_zvec    zv_copy
  52. #define fout_zvec  zv_foutput
  53. #define out_zvec   zv_output
  54. #define fin_zvec   zv_finput
  55. #define in_zvec    zv_input
  56. #define zero_zvec  zv_zero
  57. #define rand_zvec  zv_rand
  58. #define dump_zvec  zv_dump
  59.  
  60. /* type ZMAT */
  61.  
  62. #define get_zmat   zm_get
  63. #define freezmat   ZM_FREE
  64. #define cp_zmat    zm_copy
  65. #define fout_zmat  zm_foutput
  66. #define out_zmat   zm_output
  67. #define fin_zmat   zm_finput
  68. #define in_zmat    zm_input
  69. #define zero_zmat  zm_zero
  70. #define rand_zmat  zm_rand
  71. #define dump_zmat  zm_dump
  72.  
  73. /* types SPMAT */
  74.  
  75. #define sp_mat        SPMAT
  76. #define sp_get_mat    sp_get
  77. #define sp_free_mat   sp_free
  78. #define sp_cp_mat     sp_copy
  79. #define sp_cp_mat2    sp_copy2
  80. #define sp_fout_mat   sp_foutput
  81. #define sp_fout_mat2  sp_foutput2
  82. #define sp_out_mat    sp_output
  83. #define sp_out_mat2   sp_output2
  84. #define sp_fin_mat    sp_finput
  85. #define sp_in_mat     sp_input
  86. #define sp_zero_mat   sp_zero
  87. #define sp_dump_mat   sp_dump
  88.  
  89.  
  90. /* type SPROW */
  91.  
  92. #define sp_row        SPROW
  93. #define sp_get_idx    sprow_idx
  94. #define row_xpd       sprow_xpd
  95. #define sp_get_row    sprow_get
  96. #define row_set_val   sprow_set_val
  97. #define fout_row      sprow_foutput
  98. #define _row_mltadd   sprow_mltadd
  99. #define sp_row_copy   sprow_copy
  100. #define sp_row_merge  sprow_merge
  101. #define sp_row_ip     sprow_ip
  102. #define sp_row_sqr    sprow_sqr
  103.  
  104.  
  105. /* type MAT */
  106.  
  107. #define get_mat   m_get
  108. #define freemat   M_FREE
  109. #define cp_mat    m_copy
  110. #define fout_mat  m_foutput
  111. #define out_mat   m_output
  112. #define fin_mat   m_finput
  113. #define in_mat    m_input
  114. #define zero_mat  m_zero
  115. #define id_mat    m_ident
  116. #define rand_mat  m_rand
  117. #define ones_mat  m_ones
  118. #define dump_mat  m_dump
  119.  
  120. /* type VEC */
  121.  
  122. #define get_vec   v_get
  123. #define freevec   V_FREE
  124. #define cp_vec    v_copy
  125. #define fout_vec  v_foutput
  126. #define out_vec   v_output
  127. #define fin_vec   v_finput
  128. #define in_vec    v_input
  129. #define zero_vec  v_zero
  130. #define rand_vec  v_rand
  131. #define ones_vec  v_ones
  132. #define dump_vec  v_dump
  133.  
  134.  
  135. /* type PERM */
  136.  
  137. #define get_perm   px_get
  138. #define freeperm   PX_FREE
  139. #define cp_perm    px_copy
  140. #define fout_perm  px_foutput
  141. #define out_perm   px_output
  142. #define fin_perm   px_finput
  143. #define in_perm    px_input
  144. #define id_perm    px_ident
  145. #define px_id      px_ident
  146. #define trans_px   px_transp
  147. #define sign_px    px_sign
  148. #define dump_perm  px_dump
  149.  
  150. #endif
  151.