source: Sophya/trunk/SophyaExt/Blitz/blitz/vecpickio.cc@ 3009

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

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

File size: 743 bytes
Line 
1/*
2 * $Id: vecpickio.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.2 1997/01/24 14:42:00 tveldhui
10 * Periodic RCS update
11 *
12 */
13
14#ifndef BZ_VECPICKIO_CC
15#define BZ_VECPICKIO_CC
16
17#ifndef BZ_VECPICK_H
18 #error <blitz/vecpickio.cc> must be included via <blitz/vecpick.h>
19#endif // BZ_VECPICK_H
20
21BZ_NAMESPACE(blitz)
22
23template<class P_numtype>
24ostream& operator<<(ostream& os, const VectorPick<P_numtype>& x)
25{
26 Vector<P_numtype> y(x.length());
27 y = x;
28 os << y;
29 return os;
30}
31
32BZ_NAMESPACE_END
33
34#endif // BZ_VECPICKIO_CC
Note: See TracBrowser for help on using the repository browser.