NAG CPP Interface
dummy::DummyVectorDataContainer

 Contents

 class DummyVectorDataContainer

1 Description

This class does not exist. It is here purely to describe what methods a custom data container, holding an n element vector, must implement in order to be used as an argument to functions in the NAG CPP Interface.
An example of a class implementing these methods can be seen in examples/include/nag_my_vector.hpp.
An example of a generic class for a data container that can be used to hold either a vector, matrix or table, can be seen in examples/include/nag_my_data.hpp.

2 Variables

None.

3 Methods

void function  DummyVectorDataContainer::resize(ISIZE n1)
template <OSIZE>
OSIZE  DummyVectorDataContainer::size() const
template <DT>
DT*  DummyVectorDataContainer::data()
template <DT>
const DT*  DummyVectorDataContainer::data() const