MCPcopy Create free account
hub / github.com/davisking/dlib / operator[]

Method operator[]

dlib/array2d/array2d_kernel.h:195–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 ) const { return nr_; }
194
195 row operator[] (
196 long row_
197 )
198 {
199 // make sure requires clause is not broken
200 DLIB_ASSERT(row_ < nr() && row_ >= 0,
201 "\trow array2d::operator[](long row_)"
202 << "\n\tThe row index given must be less than the number of rows."
203 << "\n\tthis: " << this
204 << "\n\trow_: " << row_
205 << "\n\tnr(): " << nr()
206 );
207
208 return row(data+row_*nc_, nc_);
209 }
210
211 const row operator[] (
212 long row_

Callers

nothing calls this directly

Calls 1

rowClass · 0.70

Tested by

no test coverage detected