|
OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
|
#include <array>#include <ostream>Go to the source code of this file.
Namespaces | |
| InternalZGY | |
| Implementation not visible to clients. | |
Extend std::array<> with numeric types to support arithmetic operations between two instances (operations done per element) and between an instance and a scalar (the scalar operates on each element).
TODO-Low: Should I write a new class and add behavior to that instead of trying to "improve" std::array? In particular the question is relevant because I might only ever need std::array<std::int64_t,3> so my new class won't even need to be templated. The downside is that this type may end up visible in the API and I don't want to introduce yet another custom defined type if I can help it.
To make use of these operators you will need to use:
1.8.17