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