gtopt/multi_array_2d.hpp file

Minimal 2D array wrapper around std::vector.

Provides a minimal replacement for boost::multi_array with 2 dimensions. This is a simple wrapper around std::vector that provides 2D array semantics. Uses std::span for row access without pointer arithmetic.

Namespaces

namespace gtopt

Classes

template<typename T T>
class gtopt::MultiArray2D
Minimal 2D array wrapper around std::vector.