/* Example programs from the book Scientific and Engineering Programming in C++: An Introduction with Advanced Techniques and Examples, Addison-Wesley, 1994. (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES CORPORATION 1994. ALL RIGHTS RESERVED. See README file for further details. */ #ifndef ConcreteFortranArray1dH #define ConcreteFortranArray1dH #include "Array/ConcreteArrayShape.h" #include "Array/ConcreteArray1d.h" template class ConcreteFortranArray1d : public ConcreteArray1d, T> { public: typedef ConcreteColumnMajorSubscriptor<1> Subscriptor; ConcreteFortranArray1d(Subscript s0); ConcreteFortranArray1d(const ConcreteFortranArray1d&); ConcreteFortranArray1d(ConcreteArray1dConstRef); ConcreteFortranArray1d(ConcreteArray1dConstRef::ProjectionT, T>); ~ConcreteFortranArray1d(); ConcreteFortranArray1d& operator=(const ConcreteFortranArray1d& rhs); ConcreteFortranArray1d& operator=(ConcreteArray1dConstRef rhs); ConcreteFortranArray1d& operator=(const T& rhs); void reshape(const SubscriptArray<1>& s) { reshapeOnHeap(s); } }; #ifdef XLC_QNOTEMPINC #include "Array/ConcreteFortranArray1d.c" #endif #endif