Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

template<typename Derived >
static Derived::Index internal::first_aligned ( const Derived &  m ) [inline, static]
Returns:
the index of the first element of the array that is well aligned for vectorization.

There is also the variant first_aligned(const Scalar*, Integer) defined in Memory.h. See it for more documentation.

Definition at line 732 of file DenseCoeffsBase.h.

References AlignedBit, and DirectAccessBit.

Referenced by MatrixBase< Derived >::stableNorm().

{
  return first_aligned_impl
          <Derived, (Derived::Flags & AlignedBit) || !(Derived::Flags & DirectAccessBit)>
          ::run(m);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index