|
Last change
on this file since 29 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
872 bytes
|
| Line | |
|---|
| 1 | // |
|---|
| 2 | // Copyright (c) 2000-2002 |
|---|
| 3 | // Joerg Walter, Mathias Koch |
|---|
| 4 | // |
|---|
| 5 | // Permission to use, copy, modify, distribute and sell this software |
|---|
| 6 | // and its documentation for any purpose is hereby granted without fee, |
|---|
| 7 | // provided that the above copyright notice appear in all copies and |
|---|
| 8 | // that both that copyright notice and this permission notice appear |
|---|
| 9 | // in supporting documentation. The authors make no representations |
|---|
| 10 | // about the suitability of this software for any purpose. |
|---|
| 11 | // It is provided "as is" without express or implied warranty. |
|---|
| 12 | // |
|---|
| 13 | // The authors gratefully acknowledge the support of |
|---|
| 14 | // GeNeSys mbH & Co. KG in producing this work. |
|---|
| 15 | // |
|---|
| 16 | |
|---|
| 17 | #include <boost/numeric/ublas/storage.hpp> |
|---|
| 18 | |
|---|
| 19 | int main () { |
|---|
| 20 | using namespace boost::numeric::ublas; |
|---|
| 21 | range r (0, 3); |
|---|
| 22 | for (unsigned i = 0; i < r.size (); ++ i) { |
|---|
| 23 | std::cout << r (i) << std::endl; |
|---|
| 24 | } |
|---|
| 25 | } |
|---|
| 26 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.