<trclass="even"><tdclass="entry"><aclass="el"href="classop_1_1_array.html#af4715967fd2b028a97fd30257e697275">getPtr</a>()</td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"><spanclass="mlabel">inline</span></td></tr>
<tr><tdclass="entry"><aclass="el"href="classop_1_1_array.html#a2330657a79a444d1ab44370423be006e">getSize</a>() const </td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"><spanclass="mlabel">inline</span></td></tr>
<trclass="even"><tdclass="entry"><aclass="el"href="classop_1_1_array.html#a146d6e773e14dd7aaa29a73f878358e1">getSize</a>(const int index) const </td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"></td></tr>
<tr><tdclass="entry"><aclass="el"href="classop_1_1_array.html#afeacae113dd204df98b78353205c05f1">getStride</a>() const </td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"></td></tr>
<trclass="even"><tdclass="entry"><aclass="el"href="classop_1_1_array.html#af318ada5d29b0d22e6c94dc62055793b">getStride</a>(const int index) const </td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"></td></tr>
<tr><tdclass="entry"><aclass="el"href="classop_1_1_array.html#afee5e6149bc917586b3fd56323d20a87">getVolume</a>() const </td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"><spanclass="mlabel">inline</span></td></tr>
<trclass="even"><tdclass="entry"><aclass="el"href="classop_1_1_array.html#a04d04645dd2b2f21492b2ad7a5b87828">getVolume</a>(const int indexA, const int indexB) const </td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"></td></tr>
<tr><tdclass="entry"><aclass="el"href="classop_1_1_array.html#a9c8e006e0eea472485f37971330ecbab">operator=</a>(const Array< T >&array)</td><tdclass="entry"><aclass="el"href="classop_1_1_array.html">op::Array< T ></a></td><tdclass="entry"></td></tr>
<trclass="memitem:a04d04645dd2b2f21492b2ad7a5b87828"><tdclass="memItemLeft"align="right"valign="top">size_t </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="classop_1_1_array.html#a04d04645dd2b2f21492b2ad7a5b87828">getVolume</a> (const int indexA, const int indexB) const </td></tr>
<p><aclass="el"href="classop_1_1_array.html">Array</a> constructor. Equivalent to default constructor + <aclass="el"href="classop_1_1_array.html#a12e538b09e98bf0900163031602ed2ed">reset(const int size)</a>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g. size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g., size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g. size = {3, 5, 2} is internally similar to <code>new T[3*5*2]</code>. </td></tr>
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g., size = {3, 5, 2} is internally similar to <code>new T[3*5*2]</code>. </td></tr>
<p><aclass="el"href="classop_1_1_array.html">Array</a> constructor. Equivalent to default constructor + <aclass="el"href="classop_1_1_array.html#ac7183eb2f4e78a6941da3a2079b9ed32">reset(const int size, const T value)</a>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g. size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g., size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">value</td><td>Initial value for each component of the <aclass="el"href="classop_1_1_array.html">Array</a>. </td></tr>
<p><aclass="el"href="classop_1_1_array.html">Array</a> constructor. Equivalent to default constructor + <aclass="el"href="classop_1_1_array.html#add2eeccd967cdf0900449649cb6f5afb">reset(const std::vector<int>& size, const T value)</a>. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g. size = {3, 5, 2} is internally similar to: <code>new T[3*5*2]</code>. </td></tr>
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g., size = {3, 5, 2} is internally similar to: <code>new T[3*5*2]</code>. </td></tr>
<tr><tdclass="paramname">value</td><td>Initial value for each component of the <aclass="el"href="classop_1_1_array.html">Array</a>. </td></tr>
<p>Analogous to getConstCvMat, but in this case it returns a editable cv::Mat. Very important: Only allowed functions which do not provoke data reallocation. E.g. resizing functions will not work and they would provoke an undefined behaviour and/or execution crashes. </p>
<p>Analogous to getConstCvMat, but in this case it returns a editable cv::Mat. Very important: Only allowed functions which do not provoke data reallocation. E.g., resizing functions will not work and they would provoke an undefined behaviour and/or execution crashes. </p>
<dlclass="section return"><dt>Returns</dt><dd>A cv::Mat pointing to the data. </dd></dl>
<dlclass="section return"><dt>Returns</dt><dd>Size of the desired dimension. It will return 0 if the requested dimension is higher than the number of dimensions. </dd></dl>
<tdclass="memname">std::vector<int><aclass="el"href="classop_1_1_array.html">op::Array</a>< T >::getStride </td>
<td>(</td>
<tdclass="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><divclass="memdoc">
<p>Return the stride or step size of the array. E.g., given and Array<T> of size 5x3, <aclass="el"href="classop_1_1_array.html#afeacae113dd204df98b78353205c05f1">getStride()</a> would return the following vector: {5x3sizeof(T), 3sizeof(T), sizeof(T)}. </p>
<p>Return the stride or step size of the array at the index-th dimension. E.g., given and Array<T> of size 5x3, getStride(2) would return sizeof(T). </p>
<p>Return the total number of elements allocated, equivalent to multiply all the components from <aclass="el"href="classop_1_1_array.html#a2330657a79a444d1ab44370423be006e">getSize()</a>. E.g. for a Array<T> of size = {2,5,3}, the volume or total number of elements is: 2x5x3 = 30. </p>
<p>Return the total number of elements allocated, equivalent to multiply all the components from <aclass="el"href="classop_1_1_array.html#a2330657a79a444d1ab44370423be006e">getSize()</a>. E.g., for a Array<T> of size = {2,5,3}, the volume or total number of elements is: 2x5x3 = 30. </p>
<dlclass="section return"><dt>Returns</dt><dd>The total volume of the allocated data. If no memory is allocated, it returns 0. </dd></dl>
<p>Similar to <aclass="el"href="classop_1_1_array.html#afee5e6149bc917586b3fd56323d20a87">getVolume()</a>, but in this case it just returns the volume between the desired dimensions. E.g. for a Array<T> of size = {2,5,3}, the volume or total number of elements for getVolume(1,2) is 5x3 = 15. </p>
<p>Similar to <aclass="el"href="classop_1_1_array.html#afee5e6149bc917586b3fd56323d20a87">getVolume()</a>, but in this case it just returns the volume between the desired dimensions. E.g., for a Array<T> of size = {2,5,3}, the volume or total number of elements for getVolume(1,2) is 5x3 = 15. </p>
<dlclass="section return"><dt>Returns</dt><dd>The total volume of the allocated data between the desired dimensions. If the index are out of bounds, it throws an error. </dd></dl>
<p>[] operator Same functionality as <aclass="el"href="classop_1_1_array.html#aa40dc59e800d3c4cce623d560c0e0fad">operator[](const int index)</a>, but it lets the user introduce the multi-dimensional index. E.g. given a (10 x 10 x 10) array, array[11] is equivalent to array[{1,1,0}] </p>
<p>[] operator Same functionality as <aclass="el"href="classop_1_1_array.html#aa40dc59e800d3c4cce623d560c0e0fad">operator[](const int index)</a>, but it lets the user introduce the multi-dimensional index. E.g., given a (10 x 10 x 10) array, array[11] is equivalent to array[{1,1,0}] </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">indexes</td><td>Vector with the desired memory location. </td></tr>
<p>Data allocation function. It allocates the required space for the memory (it does not initialize that memory). </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g. size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g., size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<p>Data allocation function. Similar to <aclass="el"href="classop_1_1_array.html#a12e538b09e98bf0900163031602ed2ed">reset(const int size)</a>, but it allocates a multi-dimensional array of dimensions each of the values of the argument. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g. size = {3, 5, 2} is internally similar to <code>new T[3*5*2]</code>. </td></tr>
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g., size = {3, 5, 2} is internally similar to <code>new T[3*5*2]</code>. </td></tr>
<p>Data allocation function. Similar to <aclass="el"href="classop_1_1_array.html#a12e538b09e98bf0900163031602ed2ed">reset(const int size)</a>, but initializing the data to the value specified by the second argument. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g. size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">size</td><td>Integer with the number of T element to be allocated. E.g., size = 5 is internally similar to <code>new T[5]</code>. </td></tr>
<tr><tdclass="paramname">value</td><td>Initial value for each component of the <aclass="el"href="classop_1_1_array.html">Array</a>. </td></tr>
<p>Data allocation function. Similar to <aclass="el"href="classop_1_1_array.html#a0ad0232daa69783cf2c8f7a0ff5b3b0c">reset(const std::vector<int>& size)</a>, but initializing the data to the value specified by the second argument. </p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g. size = {3, 5, 2} is internally similar to <code>new T[3*5*2]</code>. </td></tr>
<tr><tdclass="paramname">sizes</td><td>Vector with the size of each dimension. E.g., size = {3, 5, 2} is internally similar to <code>new T[3*5*2]</code>. </td></tr>
<tr><tdclass="paramname">value</td><td>Initial value for each component of the <aclass="el"href="classop_1_1_array.html">Array</a>. </td></tr>