Rev | Line | |
---|
[73] | 1 | /* |
---|
| 2 | * $Id: vecpickio.cc,v 1.3 2003/12/11 03:44:22 julianc Exp $ |
---|
| 3 | * |
---|
| 4 | * Copyright (C) 1997 Todd Veldhuizen <tveldhui@oonumerics.org> |
---|
| 5 | * All rights reserved. Please see <blitz/blitz.h> for terms and |
---|
| 6 | * conditions of use. |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef BZ_VECPICKIO_CC |
---|
| 11 | #define BZ_VECPICKIO_CC |
---|
| 12 | |
---|
| 13 | #ifndef BZ_VECPICK_H |
---|
| 14 | #error <blitz/vecpickio.cc> must be included via <blitz/vecpick.h> |
---|
| 15 | #endif // BZ_VECPICK_H |
---|
| 16 | |
---|
| 17 | BZ_NAMESPACE(blitz) |
---|
| 18 | |
---|
| 19 | template<typename P_numtype> |
---|
| 20 | ostream& operator<<(ostream& os, const VectorPick<P_numtype>& x) |
---|
| 21 | { |
---|
| 22 | Vector<P_numtype> y(x.length()); |
---|
| 23 | y = x; |
---|
| 24 | os << y; |
---|
| 25 | return os; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | BZ_NAMESPACE_END |
---|
| 29 | |
---|
| 30 | #endif // BZ_VECPICKIO_CC |
---|
Note: See
TracBrowser
for help on using the repository browser.