MCPcopy Create free account
hub / github.com/PX4/eigen / coeffs

Method coeffs

Eigen/src/SparseCore/SparseCompressedBase.h:114–114  ·  view source on GitHub ↗

\returns a read-only view of the stored coefficients as a 1D array expression. * * \warning this method is for \b compressed \b storage \b only, and it will trigger an assertion otherwise. * * \sa valuePtr(), isCompressed() */

Source from the content-addressed store, hash-verified

112 *
113 * \sa valuePtr(), isCompressed() */
114 const Map<const Array<Scalar,Dynamic,1> > coeffs() const { eigen_assert(isCompressed()); return Array<Scalar,Dynamic,1>::Map(valuePtr(),nonZeros()); }
115
116 /** \returns a read-write view of the stored coefficients as a 1D array expression
117 *

Callers 15

xMethod · 0.80
yMethod · 0.80
zMethod · 0.80
wMethod · 0.80
QuaternionBaseClass · 0.80
dotMethod · 0.80
isApproxMethod · 0.80
QuaternionMethod · 0.80
Quaternion.hFile · 0.80
inverseMethod · 0.80
slerpMethod · 0.80
runMethod · 0.80

Calls 2

nonZerosFunction · 0.85
MapFunction · 0.70

Tested by 3

test_relative_errorFunction · 0.64
test_relative_errorFunction · 0.64
euleranglesFunction · 0.64