| Last change
 on this file since 2157 was             221, checked in by ansari, 27 years ago | 
        
          | 
Creation module DPC/Blitz (blitz 0.4) Reza 09/04/99
 | 
        
          | File size:
            977 bytes | 
      
      
| Rev | Line |  | 
|---|
| [221] | 1 | /* | 
|---|
|  | 2 | * $Id: zero.cc,v 1.1.1.1 1999-04-09 17:58:59 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.3  1997/07/16 14:51:20  tveldhui | 
|---|
|  | 10 | * Update: Alpha release 0.2 (Arrays) | 
|---|
|  | 11 | * | 
|---|
|  | 12 | * Revision 1.2  1997/01/24 14:42:00  tveldhui | 
|---|
|  | 13 | * Periodic RCS update | 
|---|
|  | 14 | * | 
|---|
|  | 15 | */ | 
|---|
|  | 16 |  | 
|---|
|  | 17 | #ifndef BZ_ZERO_H | 
|---|
|  | 18 | #include <blitz/zero.h> | 
|---|
|  | 19 | #endif | 
|---|
|  | 20 |  | 
|---|
|  | 21 | #ifndef BZ_ZERO_CC | 
|---|
|  | 22 | #define BZ_ZERO_CC | 
|---|
|  | 23 |  | 
|---|
|  | 24 | BZ_NAMESPACE(blitz) | 
|---|
|  | 25 |  | 
|---|
|  | 26 | template<class P_numtype> | 
|---|
|  | 27 | P_numtype ZeroElement<P_numtype>::zero_ = 0; | 
|---|
|  | 28 |  | 
|---|
|  | 29 | #ifdef BZ_HAVE_COMPLEX | 
|---|
|  | 30 |  | 
|---|
|  | 31 | complex<float>  ZeroElement<complex<float> >::zero_ = | 
|---|
|  | 32 | complex<float>(0.0f, 0.0f); | 
|---|
|  | 33 |  | 
|---|
|  | 34 | complex<double> ZeroElement<complex<double> >::zero_ = | 
|---|
|  | 35 | complex<double>(0.,0.); | 
|---|
|  | 36 |  | 
|---|
|  | 37 | complex<long double> ZeroElement<complex<long double> >::zero_ = | 
|---|
|  | 38 | complex<long double>(0.0L, 0.0L); | 
|---|
|  | 39 |  | 
|---|
|  | 40 | #endif // BZ_HAVE_COMPLEX | 
|---|
|  | 41 |  | 
|---|
|  | 42 | BZ_NAMESPACE_END | 
|---|
|  | 43 |  | 
|---|
|  | 44 | #endif // BZ_ZERO_CC | 
|---|
|  | 45 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.