debian man page for std::gslice

Query: std::gslice

OS: debian

Section: 3cxx

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

std::gslice(3cxx)														 std::gslice(3cxx)

NAME
std::gslice -
SYNOPSIS
Public Member Functions gslice () gslice (size_t, const valarray< size_t > &, const valarray< size_t > &) gslice (const gslice &) ~gslice () gslice & operator= (const gslice &) valarray< size_t > size () const size_t start () const valarray< size_t > stride () const Friends class valarray Detailed Description Class defining multi-dimensional subset of an array. The slice class represents a multi-dimensional subset of an array, specified by three parameter sets: start offset, size array, and stride array. The start offset is the index of the first element of the array that is part of the subset. The size and stride array describe each dimension of the slice. Size is the number of elements in that dimension, and stride is the distance in the array between successive elements in that dimension. Each dimension's size and stride is taken to begin at an array element described by the previous dimension. The size array and stride array must be the same size. For example, if you have offset==3, stride[0]==11, size[1]==3, stride[1]==3, then slice[0,0]==array[3], slice[0,1]==array[6], slice[0,2]==array[9], slice[1,0]==array[14], slice[1,1]==array[17], slice[1,2]==array[20]. Definition at line 65 of file gslice.h. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::gslice(3cxx)
Related Man Pages
std::gslice_array(3) - centos
std::slice_array(3) - centos
std::gslice_array(3) - debian
std::mask_array(3) - debian
std::gslice(3cxx) - debian
Similar Topics in the Unix Linux Community
array
[bash] passing array to function
C++ Segmentation error with bi-dimensional array
Assign two dimensional array in bash at once
Multi Dimensional array in bash