source: Sophya/trunk/SophyaExt/Blitz/blitz/zero.cc@ 3067

Last change on this file since 3067 was 221, checked in by ansari, 26 years ago

Creation module DPC/Blitz (blitz 0.4) Reza 09/04/99

File size: 977 bytes
Line 
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
24BZ_NAMESPACE(blitz)
25
26template<class P_numtype>
27P_numtype ZeroElement<P_numtype>::zero_ = 0;
28
29#ifdef BZ_HAVE_COMPLEX
30
31complex<float> ZeroElement<complex<float> >::zero_ =
32 complex<float>(0.0f, 0.0f);
33
34complex<double> ZeroElement<complex<double> >::zero_ =
35 complex<double>(0.,0.);
36
37complex<long double> ZeroElement<complex<long double> >::zero_ =
38 complex<long double>(0.0L, 0.0L);
39
40#endif // BZ_HAVE_COMPLEX
41
42BZ_NAMESPACE_END
43
44#endif // BZ_ZERO_CC
45
Note: See TracBrowser for help on using the repository browser.