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

Function outerSize

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

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

Source from the content-addressed store, hash-verified

220 * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of columns for a
221 * column-major matrix, and the number of rows for a row-major matrix. */
222 EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR
223 Index outerSize() const
224 {
225 return IsVectorAtCompileTime ? 1
226 : int(IsRowMajor) ? this->rows() : this->cols();
227 }
228
229 /** \returns the inner size.
230 *

Callers 3

collapseDuplicatesMethod · 0.85
sumMethod · 0.85

Calls 2

rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected