oldnames.h 3.8 KB

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