| Rev | Line |   | 
|---|
| [658] | 1 | /*
 | 
|---|
 | 2 |  * $Id: zero.cc,v 1.1.1.1 1999-11-26 16:37:06 ansari Exp $
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  * Copyright (C) 1997 Todd Veldhuizen <tveldhui@seurat.uwaterloo.ca>
 | 
|---|
 | 5 |  * All rights reserved.  Please see <blitz/blitz.h> for terms and
 | 
|---|
 | 6 |  * conditions of use.
 | 
|---|
 | 7 |  *
 | 
|---|
 | 8 |  * $Log: not supported by cvs2svn $
 | 
|---|
 | 9 | // Revision 1.1.1.1  1999/04/09  17:58:59  ansari
 | 
|---|
 | 10 | // Creation module DPC/Blitz (blitz 0.4) Reza 09/04/99
 | 
|---|
 | 11 | //
 | 
|---|
 | 12 |  * Revision 1.3  1997/07/16 14:51:20  tveldhui
 | 
|---|
 | 13 |  * Update: Alpha release 0.2 (Arrays)
 | 
|---|
 | 14 |  *
 | 
|---|
 | 15 |  * Revision 1.2  1997/01/24 14:42:00  tveldhui
 | 
|---|
 | 16 |  * Periodic RCS update
 | 
|---|
 | 17 |  *
 | 
|---|
 | 18 |  */
 | 
|---|
 | 19 | 
 | 
|---|
 | 20 | #ifndef BZ_ZERO_H
 | 
|---|
 | 21 |  #include <blitz/zero.h>
 | 
|---|
 | 22 | #endif
 | 
|---|
 | 23 | 
 | 
|---|
 | 24 | #ifndef BZ_ZERO_CC
 | 
|---|
 | 25 | #define BZ_ZERO_CC
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 | BZ_NAMESPACE(blitz)
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | template<class P_numtype>
 | 
|---|
 | 30 | P_numtype ZeroElement<P_numtype>::zero_ = 0;
 | 
|---|
 | 31 | 
 | 
|---|
 | 32 | #ifdef BZ_HAVE_COMPLEX
 | 
|---|
 | 33 | 
 | 
|---|
 | 34 | complex<float>  ZeroElement<complex<float> >::zero_ = 
 | 
|---|
 | 35 |     complex<float>(0.0f, 0.0f);
 | 
|---|
 | 36 | 
 | 
|---|
 | 37 | complex<double> ZeroElement<complex<double> >::zero_ =
 | 
|---|
 | 38 |     complex<double>(0.,0.);
 | 
|---|
 | 39 | 
 | 
|---|
 | 40 | complex<long double> ZeroElement<complex<long double> >::zero_ =
 | 
|---|
 | 41 |     complex<long double>(0.0L, 0.0L);
 | 
|---|
 | 42 | 
 | 
|---|
 | 43 | #endif // BZ_HAVE_COMPLEX
 | 
|---|
 | 44 | 
 | 
|---|
 | 45 | BZ_NAMESPACE_END
 | 
|---|
 | 46 | 
 | 
|---|
 | 47 | #endif // BZ_ZERO_CC
 | 
|---|
 | 48 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.