MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / innerSize

Function innerSize

include/rabitqlib/third/Eigen/src/Core/DenseBase.h:234–239  ·  view source on GitHub ↗

\returns the inner size. * * \note For a vector, this is just the size. For a matrix (non-vector), this is the minor dimension * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of rows for a * column-major matrix, and the number of columns for a row-major matrix. */

Source from the content-addressed store, hash-verified

232 * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of rows for a
233 * column-major matrix, and the number of columns for a row-major matrix. */
234 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
235 Index innerSize() const
236 {
237 return IsVectorAtCompileTime ? this->size()
238 : int(IsRowMajor) ? this->cols() : this->rows();
239 }
240
241 /** Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are
242 * Matrix::resize() and Array::resize(). The present method only asserts that the new size equals the old size, and does

Callers 1

collapseDuplicatesMethod · 0.85

Calls 3

sizeMethod · 0.45
colsMethod · 0.45
rowsMethod · 0.45

Tested by

no test coverage detected