00001 00002 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ 00003 /* */ 00004 /* */ 00005 /* MV++ Numerical Matrix/Vector C++ Library */ 00006 /* MV++ Version 1.5 */ 00007 /* */ 00008 /* R. Pozo */ 00009 /* National Institute of Standards and Technology */ 00010 /* */ 00011 /* NOTICE */ 00012 /* */ 00013 /* Permission to use, copy, modify, and distribute this software and */ 00014 /* its documentation for any purpose and without fee is hereby granted */ 00015 /* provided that this permission notice appear in all copies and */ 00016 /* supporting documentation. */ 00017 /* */ 00018 /* Neither the Institution (National Institute of Standards and Technology) */ 00019 /* nor the author makes any representations about the suitability of this */ 00020 /* software for any purpose. This software is provided ``as is''without */ 00021 /* expressed or implied warranty. */ 00022 /* */ 00023 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ 00024 00025 00026 // this is really used as a sort of global constant. The reason 00027 // for creating its own type is that so it can be overloaded to perform 00028 // a deep or shallow assignement. (Any variable of type MV_Matrix_::ref_type 00029 // has only one possible value: one.) 00030 00031 #ifndef _MV_MATRIX_REF_ 00032 #define _MV_MATRIX_REF_ 00033 struct MV_Matrix_ 00034 { 00035 enum ref_type { ref = 1}; 00036 } ; 00037 # endif