| 70 | namespace |
| 71 | { |
| 72 | void |
| 73 | genrandn(ArrayData<NDIM, double>& data, const Box<NDIM>& box) |
| 74 | { |
| 75 | for (int depth = 0; depth < data.getDepth(); ++depth) |
| 76 | { |
| 77 | for (Box<NDIM>::Iterator i(box); i; i++) |
| 78 | { |
| 79 | RNG::genrandn(&data(i(), depth)); |
| 80 | } |
| 81 | } |
| 82 | return; |
| 83 | } // genrandn |
| 84 | } // namespace |
| 85 | |
| 86 | /////////////////////////////// PUBLIC /////////////////////////////////////// |
no test coverage detected