BlasUtil.h
Go to the documentation of this file.
1 // This file is part of Eigen, a lightweight C++ template library
2 // for linear algebra.
3 //
4 // Copyright (C) 2009-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
5 //
6 // This Source Code Form is subject to the terms of the Mozilla
7 // Public License v. 2.0. If a copy of the MPL was not distributed
8 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 
10 #ifndef EIGEN_BLASUTIL_H
11 #define EIGEN_BLASUTIL_H
12 
13 // This file contains many lightweight helper classes used to
14 // implement and control fast level 2 and level 3 BLAS-like routines.
15 
16 namespace Eigen {
17 
18 namespace internal {
19 
20 // forward declarations
21 template<typename LhsScalar, typename RhsScalar, typename Index, typename DataMapper, int mr, int nr, bool ConjugateLhs=false, bool ConjugateRhs=false>
22 struct gebp_kernel;
23 
24 template<typename Scalar, typename Index, typename DataMapper, int nr, int StorageOrder, bool Conjugate = false, bool PanelMode=false>
26 
27 template<typename Scalar, typename Index, typename DataMapper, int Pack1, int Pack2, typename Packet, int StorageOrder, bool Conjugate = false, bool PanelMode = false>
29 
30 template<
31  typename Index,
32  typename LhsScalar, int LhsStorageOrder, bool ConjugateLhs,
33  typename RhsScalar, int RhsStorageOrder, bool ConjugateRhs,
34  int ResStorageOrder, int ResInnerStride>
36 
37 template<typename Index,
38  typename LhsScalar, typename LhsMapper, int LhsStorageOrder, bool ConjugateLhs,
39  typename RhsScalar, typename RhsMapper, bool ConjugateRhs, int Version=Specialized>
41 
42 template<typename From,typename To> struct get_factor {
43  EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE To run(const From& x) { return To(x); }
44 };
45 
46 template<typename Scalar> struct get_factor<Scalar,typename NumTraits<Scalar>::Real> {
48  static EIGEN_STRONG_INLINE typename NumTraits<Scalar>::Real run(const Scalar& x) { return numext::real(x); }
49 };
50 
51 
52 template<typename Scalar, typename Index>
54  public:
56 
58  return m_data[i];
59  }
60  template <typename Packet, int AlignmentType>
62  return ploadt<Packet, AlignmentType>(m_data + i);
63  }
64 
65  template <typename Packet>
67  return (UIntPtr(m_data+i)%sizeof(Packet))==0;
68  }
69 
70  protected:
72 };
73 
74 template<typename Scalar, typename Index, int AlignmentType, int Incr=1>
76 
77 template<typename Scalar, typename Index, int AlignmentType>
79 {
80 public:
82  : m_data(data)
83  {
85  eigen_assert(incr==1);
86  }
87 
89  internal::prefetch(&operator()(i));
90  }
91 
93  return m_data[i];
94  }
95 
96  template<typename PacketType>
98  return ploadt<PacketType, AlignmentType>(m_data + i);
99  }
100 
101  template<typename PacketType>
103  pstoret<Scalar, PacketType, AlignmentType>(m_data + i, p);
104  }
105 
106 protected:
108 };
109 
110 // Lightweight helper class to access matrix coefficients.
111 template<typename Scalar, typename Index, int StorageOrder, int AlignmentType = Unaligned, int Incr = 1>
113 
114 // TMP to help PacketBlock store implementation.
115 // There's currently no known use case for PacketBlock load.
116 // The default implementation assumes ColMajor order.
117 // It always store each packet sequentially one `stride` apart.
118 template<typename Index, typename Scalar, typename Packet, int n, int idx, int StorageOrder>
120 {
121  PacketBlockManagement<Index, Scalar, Packet, n, idx - 1, StorageOrder> pbm;
123  pbm.store(to, stride, i, j, block);
124  pstoreu<Scalar>(to + i + (j + idx)*stride, block.packet[idx]);
125  }
126 };
127 
128 // PacketBlockManagement specialization to take care of RowMajor order without ifs.
129 template<typename Index, typename Scalar, typename Packet, int n, int idx>
131 {
134  pbm.store(to, stride, i, j, block);
135  pstoreu<Scalar>(to + j + (i + idx)*stride, block.packet[idx]);
136  }
137 };
138 
139 template<typename Index, typename Scalar, typename Packet, int n, int StorageOrder>
140 struct PacketBlockManagement<Index, Scalar, Packet, n, -1, StorageOrder>
141 {
144  EIGEN_UNUSED_VARIABLE(stride);
148  }
149 };
150 
151 template<typename Index, typename Scalar, typename Packet, int n>
153 {
156  EIGEN_UNUSED_VARIABLE(stride);
160  }
161 };
162 
163 template<typename Scalar, typename Index, int StorageOrder, int AlignmentType>
165 {
166 public:
169 
171  : m_data(data), m_stride(stride)
172  {
174  eigen_assert(incr==1);
175  }
176 
180  }
181 
183  return LinearMapper(&operator()(i, j));
184  }
185 
187  return VectorMapper(&operator()(i, j));
188  }
189 
190 
193  return m_data[StorageOrder==RowMajor ? j + i*m_stride : i + j*m_stride];
194  }
195 
196  template<typename PacketType>
198  return ploadt<PacketType, AlignmentType>(&operator()(i, j));
199  }
200 
201  template <typename PacketT, int AlignmentT>
203  return ploadt<PacketT, AlignmentT>(&operator()(i, j));
204  }
205 
206  template<typename SubPacket>
208  pscatter<Scalar, SubPacket>(&operator()(i, j), p, m_stride);
209  }
210 
211  template<typename SubPacket>
213  return pgather<Scalar, SubPacket>(&operator()(i, j), m_stride);
214  }
215 
216  EIGEN_DEVICE_FUNC const Index stride() const { return m_stride; }
217  EIGEN_DEVICE_FUNC const Scalar* data() const { return m_data; }
218 
220  if (UIntPtr(m_data)%sizeof(Scalar)) {
221  return -1;
222  }
224  }
225 
226  template<typename SubPacket, int n>
228  PacketBlockManagement<Index, Scalar, SubPacket, n, n-1, StorageOrder> pbm;
229  pbm.store(m_data, m_stride, i, j, block);
230  }
231 protected:
234 };
235 
236 // Implementation of non-natural increment (i.e. inner-stride != 1)
237 // The exposed API is not complete yet compared to the Incr==1 case
238 // because some features makes less sense in this case.
239 template<typename Scalar, typename Index, int AlignmentType, int Incr>
240 class BlasLinearMapper
241 {
242 public:
244 
246  internal::prefetch(&operator()(i));
247  }
248 
250  return m_data[i*m_incr.value()];
251  }
252 
253  template<typename PacketType>
255  return pgather<Scalar,PacketType>(m_data + i*m_incr.value(), m_incr.value());
256  }
257 
258  template<typename PacketType>
260  pscatter<Scalar, PacketType>(m_data + i*m_incr.value(), p, m_incr.value());
261  }
262 
263 protected:
266 };
267 
268 template<typename Scalar, typename Index, int StorageOrder, int AlignmentType,int Incr>
269 class blas_data_mapper
270 {
271 public:
273 
275 
278  return blas_data_mapper(&operator()(i, j), m_stride, m_incr.value());
279  }
280 
282  return LinearMapper(&operator()(i, j), m_incr.value());
283  }
284 
287  return m_data[StorageOrder==RowMajor ? j*m_incr.value() + i*m_stride : i*m_incr.value() + j*m_stride];
288  }
289 
290  template<typename PacketType>
292  return pgather<Scalar,PacketType>(&operator()(i, j),m_incr.value());
293  }
294 
295  template <typename PacketT, int AlignmentT>
297  return pgather<Scalar,PacketT>(&operator()(i, j),m_incr.value());
298  }
299 
300  template<typename SubPacket>
302  pscatter<Scalar, SubPacket>(&operator()(i, j), p, m_stride);
303  }
304 
305  template<typename SubPacket>
307  return pgather<Scalar, SubPacket>(&operator()(i, j), m_stride);
308  }
309 
310  // storePacketBlock_helper defines a way to access values inside the PacketBlock, this is essentially required by the Complex types.
311  template<typename SubPacket, typename ScalarT, int n, int idx>
313  {
314  storePacketBlock_helper<SubPacket, ScalarT, n, idx-1> spbh;
316  spbh.store(sup, i,j,block);
317  for(int l = 0; l < unpacket_traits<SubPacket>::size; l++)
318  {
319  ScalarT *v = &sup->operator()(i+l, j+idx);
320  *v = block.packet[idx][l];
321  }
322  }
323  };
324 
325  template<typename SubPacket, int n, int idx>
326  struct storePacketBlock_helper<SubPacket, std::complex<float>, n, idx>
327  {
330  spbh.store(sup,i,j,block);
331  for(int l = 0; l < unpacket_traits<SubPacket>::size; l++)
332  {
333  std::complex<float> *v = &sup->operator()(i+l, j+idx);
334  v->real(block.packet[idx].v[2*l+0]);
335  v->imag(block.packet[idx].v[2*l+1]);
336  }
337  }
338  };
339 
340  template<typename SubPacket, int n, int idx>
341  struct storePacketBlock_helper<SubPacket, std::complex<double>, n, idx>
342  {
345  spbh.store(sup,i,j,block);
346  for(int l = 0; l < unpacket_traits<SubPacket>::size; l++)
347  {
348  std::complex<double> *v = &sup->operator()(i+l, j+idx);
349  v->real(block.packet[idx].v[2*l+0]);
350  v->imag(block.packet[idx].v[2*l+1]);
351  }
352  }
353  };
354 
355  template<typename SubPacket, typename ScalarT, int n>
356  struct storePacketBlock_helper<SubPacket, ScalarT, n, -1>
357  {
359  }
360  };
361 
362  template<typename SubPacket, int n>
363  struct storePacketBlock_helper<SubPacket, std::complex<float>, n, -1>
364  {
366  }
367  };
368 
369  template<typename SubPacket, int n>
370  struct storePacketBlock_helper<SubPacket, std::complex<double>, n, -1>
371  {
373  }
374  };
375  // This function stores a PacketBlock on m_data, this approach is really quite slow compare to Incr=1 and should be avoided when possible.
376  template<typename SubPacket, int n>
378  storePacketBlock_helper<SubPacket, Scalar, n, n-1> spb;
379  spb.store(this, i,j,block);
380  }
381 protected:
385 };
386 
387 // lightweight helper class to access matrix coefficients (const version)
388 template<typename Scalar, typename Index, int StorageOrder>
389 class const_blas_data_mapper : public blas_data_mapper<const Scalar, Index, StorageOrder> {
390  public:
391  EIGEN_ALWAYS_INLINE const_blas_data_mapper(const Scalar *data, Index stride) : blas_data_mapper<const Scalar, Index, StorageOrder>(data, stride) {}
392 
394  return const_blas_data_mapper<Scalar, Index, StorageOrder>(&(this->operator()(i, j)), this->m_stride);
395  }
396 };
397 
398 
399 /* Helper class to analyze the factors of a Product expression.
400  * In particular it allows to pop out operator-, scalar multiples,
401  * and conjugate */
402 template<typename XprType> struct blas_traits
403 {
404  typedef typename traits<XprType>::Scalar Scalar;
405  typedef const XprType& ExtractType;
407  enum {
409  IsTransposed = false,
412  && ( bool(XprType::IsVectorAtCompileTime)
414  ) ? 1 : 0,
416  };
417  typedef typename conditional<bool(HasUsableDirectAccess),
418  ExtractType,
419  typename _ExtractType::PlainObject
421  static inline EIGEN_DEVICE_FUNC ExtractType extract(const XprType& x) { return x; }
422  static inline EIGEN_DEVICE_FUNC const Scalar extractScalarFactor(const XprType&) { return Scalar(1); }
423 };
424 
425 // pop conjugate
426 template<typename Scalar, typename NestedXpr>
428  : blas_traits<NestedXpr>
429 {
432  typedef typename Base::ExtractType ExtractType;
433 
434  enum {
436  NeedToConjugate = Base::NeedToConjugate ? 0 : IsComplex
437  };
438  static inline ExtractType extract(const XprType& x) { return Base::extract(x.nestedExpression()); }
439  static inline Scalar extractScalarFactor(const XprType& x) { return conj(Base::extractScalarFactor(x.nestedExpression())); }
440 };
441 
442 // pop scalar multiple
443 template<typename Scalar, typename NestedXpr, typename Plain>
445  : blas_traits<NestedXpr>
446 {
447  enum {
449  };
452  typedef typename Base::ExtractType ExtractType;
453  static inline EIGEN_DEVICE_FUNC ExtractType extract(const XprType& x) { return Base::extract(x.rhs()); }
455  { return x.lhs().functor().m_other * Base::extractScalarFactor(x.rhs()); }
456 };
457 template<typename Scalar, typename NestedXpr, typename Plain>
459  : blas_traits<NestedXpr>
460 {
461  enum {
463  };
466  typedef typename Base::ExtractType ExtractType;
467  static inline ExtractType extract(const XprType& x) { return Base::extract(x.lhs()); }
468  static inline Scalar extractScalarFactor(const XprType& x)
469  { return Base::extractScalarFactor(x.lhs()) * x.rhs().functor().m_other; }
470 };
471 template<typename Scalar, typename Plain1, typename Plain2>
473  const CwiseNullaryOp<scalar_constant_op<Scalar>,Plain2> > >
474  : blas_traits<CwiseNullaryOp<scalar_constant_op<Scalar>,Plain1> >
475 {};
476 
477 // pop opposite
478 template<typename Scalar, typename NestedXpr>
480  : blas_traits<NestedXpr>
481 {
482  enum {
484  };
487  typedef typename Base::ExtractType ExtractType;
488  static inline ExtractType extract(const XprType& x) { return Base::extract(x.nestedExpression()); }
489  static inline Scalar extractScalarFactor(const XprType& x)
490  { return - Base::extractScalarFactor(x.nestedExpression()); }
491 };
492 
493 // pop/push transpose
494 template<typename NestedXpr>
495 struct blas_traits<Transpose<NestedXpr> >
496  : blas_traits<NestedXpr>
497 {
498  typedef typename NestedXpr::Scalar Scalar;
501  typedef Transpose<const typename Base::_ExtractType> ExtractType; // const to get rid of a compile error; anyway blas traits are only used on the RHS
503  typedef typename conditional<bool(Base::HasUsableDirectAccess),
504  ExtractType,
505  typename ExtractType::PlainObject
507  enum {
508  IsTransposed = Base::IsTransposed ? 0 : 1
509  };
510  static inline ExtractType extract(const XprType& x) { return ExtractType(Base::extract(x.nestedExpression())); }
511  static inline Scalar extractScalarFactor(const XprType& x) { return Base::extractScalarFactor(x.nestedExpression()); }
512 };
513 
514 template<typename T>
515 struct blas_traits<const T>
516  : blas_traits<T>
517 {};
518 
519 template<typename T, bool HasUsableDirectAccess=blas_traits<T>::HasUsableDirectAccess>
521  EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE static const typename T::Scalar* run(const T& m)
522  {
523  return blas_traits<T>::extract(m).data();
524  }
525 };
526 
527 template<typename T>
528 struct extract_data_selector<T,false> {
529  static typename T::Scalar* run(const T&) { return 0; }
530 };
531 
532 template<typename T>
534 {
536 }
537 
542 template<typename ResScalar, typename Lhs, typename Rhs>
544 {
545  EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE static ResScalar run(const Lhs& lhs, const Rhs& rhs)
546  {
548  }
549  EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE static ResScalar run(const ResScalar& alpha, const Lhs& lhs, const Rhs& rhs)
550  {
552  }
553 };
554 template<typename Lhs, typename Rhs>
556 {
557  EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE static bool run(const Lhs& lhs, const Rhs& rhs)
558  {
560  }
561  EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE static bool run(const bool& alpha, const Lhs& lhs, const Rhs& rhs)
562  {
564  }
565 };
566 
567 template<typename ResScalar, typename Lhs, typename Rhs>
568 EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE ResScalar combine_scalar_factors(const ResScalar& alpha, const Lhs& lhs, const Rhs& rhs)
569 {
571 }
572 template<typename ResScalar, typename Lhs, typename Rhs>
574 {
576 }
577 
578 
579 } // end namespace internal
580 
581 } // end namespace Eigen
582 
583 #endif // EIGEN_BLASUTIL_H
Eigen::internal::blas_traits::IsTransposed
@ IsTransposed
Definition: BlasUtil.h:409
Eigen::internal::blas_traits::_ExtractType
XprType _ExtractType
Definition: BlasUtil.h:406
gtsam.examples.DogLegOptimizerExample.int
int
Definition: DogLegOptimizerExample.py:111
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, NestedXpr, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain > > >::ExtractType
Base::ExtractType ExtractType
Definition: BlasUtil.h:466
Eigen::internal::const_blas_data_mapper::getSubMapper
EIGEN_ALWAYS_INLINE const_blas_data_mapper< Scalar, Index, StorageOrder > getSubMapper(Index i, Index j) const
Definition: BlasUtil.h:393
Eigen::conj
const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
Definition: AutoDiffScalar.h:574
Eigen::internal::variable_if_dynamic< Index, Incr >
Eigen::internal::BlasVectorMapper::load
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet load(Index i) const
Definition: BlasUtil.h:61
Eigen::internal::Lhs
@ Lhs
Definition: TensorContractionMapper.h:19
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::getVectorMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE VectorMapper getVectorMapper(Index i, Index j) const
Definition: BlasUtil.h:186
EIGEN_DEVICE_FUNC
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:976
Eigen
Namespace containing all symbols from the Eigen library.
Definition: jet.h:637
EIGEN_RESTRICT
#define EIGEN_RESTRICT
Definition: Macros.h:1160
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::gatherPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE SubPacket gatherPacket(Index i, Index j) const
Definition: BlasUtil.h:212
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >::operator()
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar & operator()(Index i) const
Definition: BlasUtil.h:92
Eigen::internal::blas_traits::NeedToConjugate
@ NeedToConjugate
Definition: BlasUtil.h:410
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::m_data
Scalar *EIGEN_RESTRICT m_data
Definition: BlasUtil.h:232
Eigen::internal::UIntPtr
std::size_t UIntPtr
Definition: Meta.h:92
alpha
RealScalar alpha
Definition: level1_cplx_impl.h:147
Eigen::CwiseBinaryOp
Generic expression where a coefficient-wise binary operator is applied to two expressions.
Definition: CwiseBinaryOp.h:77
Eigen::internal::blas_data_mapper::operator()
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar & operator()(Index i, Index j) const
Definition: BlasUtil.h:286
Eigen::internal::blas_data_mapper::storePacketBlock
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacketBlock(Index i, Index j, const PacketBlock< SubPacket, n > &block) const
Definition: BlasUtil.h:377
Eigen::internal::general_matrix_vector_product
Definition: BlasUtil.h:40
Packet
internal::packet_traits< Scalar >::type Packet
Definition: benchmark-blocking-sizes.cpp:54
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::data
const EIGEN_DEVICE_FUNC Scalar * data() const
Definition: BlasUtil.h:217
Eigen::internal::PacketBlock
Definition: GenericPacketMath.h:1014
Eigen::internal::BlasLinearMapper::prefetch
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void prefetch(int i) const
Definition: BlasUtil.h:245
Eigen::internal::blas_traits< Transpose< NestedXpr > >::_ExtractType
Transpose< const typename Base::_ExtractType > _ExtractType
Definition: BlasUtil.h:502
eigen_assert
#define eigen_assert(x)
Definition: Macros.h:1037
Eigen::internal::combine_scalar_factors_impl::run
EIGEN_DEVICE_FUNC static EIGEN_ALWAYS_INLINE ResScalar run(const ResScalar &alpha, const Lhs &lhs, const Rhs &rhs)
Definition: BlasUtil.h:549
Eigen::internal::BlasVectorMapper
Definition: BlasUtil.h:53
x
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Definition: gnuplot_common_settings.hh:12
Eigen::internal::blas_traits< Transpose< NestedXpr > >::ExtractType
Transpose< const typename Base::_ExtractType > ExtractType
Definition: BlasUtil.h:501
Eigen::internal::PacketBlockManagement< Index, Scalar, Packet, n, idx, RowMajor >::pbm
PacketBlockManagement< Index, Scalar, Packet, n, idx - 1, RowMajor > pbm
Definition: BlasUtil.h:132
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, std::complex< float >, n, -1 >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(const blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, Incr > *, Index, Index, const PacketBlock< SubPacket, n > &) const
Definition: BlasUtil.h:365
Eigen::internal::blas_traits::ExtractType
const typedef XprType & ExtractType
Definition: BlasUtil.h:405
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_conjugate_op< Scalar >, NestedXpr > >::Base
blas_traits< NestedXpr > Base
Definition: BlasUtil.h:430
Eigen::internal::PacketBlockManagement< Index, Scalar, Packet, n, -1, StorageOrder >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(Scalar *to, const Index stride, Index i, Index j, const PacketBlock< Packet, n > &block) const
Definition: BlasUtil.h:142
Eigen::internal::blas_data_mapper::getSubMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE blas_data_mapper getSubMapper(Index i, Index j) const
Definition: BlasUtil.h:277
real
float real
Definition: datatypes.h:10
type
Definition: pytypes.h:1525
Eigen::internal::blas_traits::DirectLinearAccessType
conditional< bool(HasUsableDirectAccess), ExtractType, typename _ExtractType::PlainObject >::type DirectLinearAccessType
Definition: BlasUtil.h:420
Eigen::internal::BlasLinearMapper::m_data
Scalar * m_data
Definition: BlasUtil.h:264
Eigen::internal::blas_data_mapper::gatherPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE SubPacket gatherPacket(Index i, Index j) const
Definition: BlasUtil.h:306
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::load
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT load(Index i, Index j) const
Definition: BlasUtil.h:202
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, NestedXpr, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain > > >::extract
static ExtractType extract(const XprType &x)
Definition: BlasUtil.h:467
Eigen::internal::blas_traits< Transpose< NestedXpr > >::extract
static ExtractType extract(const XprType &x)
Definition: BlasUtil.h:510
Eigen::internal::BlasVectorMapper::m_data
Scalar * m_data
Definition: BlasUtil.h:71
Eigen::RowMajor
@ RowMajor
Definition: Constants.h:321
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain >, NestedXpr > >::extractScalarFactor
static EIGEN_DEVICE_FUNC Scalar extractScalarFactor(const XprType &x)
Definition: BlasUtil.h:454
Eigen::internal::blas_traits< Transpose< NestedXpr > >::Base
blas_traits< NestedXpr > Base
Definition: BlasUtil.h:499
Eigen::internal::blas_data_mapper::storePacketBlock_helper::spbh
storePacketBlock_helper< SubPacket, ScalarT, n, idx-1 > spbh
Definition: BlasUtil.h:314
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::blas_data_mapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE blas_data_mapper(Scalar *data, Index stride, Index incr=1)
Definition: BlasUtil.h:170
block
m m block(1, 0, 2, 2)<< 4
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain >, NestedXpr > >::extract
static EIGEN_DEVICE_FUNC ExtractType extract(const XprType &x)
Definition: BlasUtil.h:453
Eigen::internal::scalar_product_op
Definition: BinaryFunctors.h:70
Eigen::Transpose
Expression of the transpose of a matrix.
Definition: Transpose.h:52
Eigen::DirectAccessBit
const unsigned int DirectAccessBit
Definition: Constants.h:155
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >::BlasLinearMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE BlasLinearMapper(Scalar *data, Index incr=1)
Definition: BlasUtil.h:81
Eigen::internal::blas_data_mapper::LinearMapper
BlasLinearMapper< Scalar, Index, AlignmentType, Incr > LinearMapper
Definition: BlasUtil.h:272
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, std::complex< float >, n, idx >::spbh
storePacketBlock_helper< SubPacket, std::complex< float >, n, idx-1 > spbh
Definition: BlasUtil.h:328
EIGEN_ONLY_USED_FOR_DEBUG
#define EIGEN_ONLY_USED_FOR_DEBUG(x)
Definition: Macros.h:1049
Eigen::internal::PacketBlockManagement::pbm
PacketBlockManagement< Index, Scalar, Packet, n, idx - 1, StorageOrder > pbm
Definition: BlasUtil.h:121
Eigen::CwiseNullaryOp
Generic expression of a matrix where all coefficients are defined by a functor.
Definition: CwiseNullaryOp.h:60
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_conjugate_op< Scalar >, NestedXpr > >::ExtractType
Base::ExtractType ExtractType
Definition: BlasUtil.h:432
size
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::getLinearMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE LinearMapper getLinearMapper(Index i, Index j) const
Definition: BlasUtil.h:182
Eigen::internal::blas_traits::HasScalarFactor
@ HasScalarFactor
Definition: BlasUtil.h:415
n
int n
Definition: BiCGSTAB_simple.cpp:1
Eigen::PacketType
Definition: TensorMeta.h:50
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::firstAligned
EIGEN_DEVICE_FUNC Index firstAligned(Index size) const
Definition: BlasUtil.h:219
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_opposite_op< Scalar >, NestedXpr > >::extractScalarFactor
static Scalar extractScalarFactor(const XprType &x)
Definition: BlasUtil.h:489
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::operator()
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar & operator()(Index i, Index j) const
Definition: BlasUtil.h:192
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::LinearMapper
BlasLinearMapper< Scalar, Index, AlignmentType > LinearMapper
Definition: BlasUtil.h:167
Eigen::internal::blas_data_mapper::m_data
Scalar *EIGEN_RESTRICT m_data
Definition: BlasUtil.h:382
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, ScalarT, n, -1 >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(const blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, Incr > *, Index, Index, const PacketBlock< SubPacket, n > &) const
Definition: BlasUtil.h:358
Eigen::internal::PacketBlockManagement
Definition: BlasUtil.h:119
data
int data[]
Definition: Map_placement_new.cpp:1
Eigen::internal::BlasLinearMapper::storePacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacket(Index i, const PacketType &p) const
Definition: BlasUtil.h:259
EIGEN_UNUSED_VARIABLE
#define EIGEN_UNUSED_VARIABLE(var)
Definition: Macros.h:1076
Plain
Definition: timeVirtual.cpp:28
j
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, std::complex< float >, n, idx >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(const blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, Incr > *sup, Index i, Index j, const PacketBlock< SubPacket, n > &block) const
Definition: BlasUtil.h:329
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, NestedXpr, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain > > >::XprType
CwiseBinaryOp< scalar_product_op< Scalar >, NestedXpr, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain > > XprType
Definition: BlasUtil.h:465
Eigen::internal::scalar_constant_op
Definition: NullaryFunctors.h:18
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::scatterPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void scatterPacket(Index i, Index j, const SubPacket &p) const
Definition: BlasUtil.h:207
Eigen::internal::combine_scalar_factors_impl::run
EIGEN_DEVICE_FUNC static EIGEN_ALWAYS_INLINE ResScalar run(const Lhs &lhs, const Rhs &rhs)
Definition: BlasUtil.h:545
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_opposite_op< Scalar >, NestedXpr > >::Base
blas_traits< NestedXpr > Base
Definition: BlasUtil.h:485
Eigen::internal::blas_traits< Transpose< NestedXpr > >::DirectLinearAccessType
conditional< bool(Base::HasUsableDirectAccess), ExtractType, typename ExtractType::PlainObject >::type DirectLinearAccessType
Definition: BlasUtil.h:506
Eigen::internal::BlasVectorMapper::aligned
EIGEN_DEVICE_FUNC bool aligned(Index i) const
Definition: BlasUtil.h:66
Eigen::internal::PacketBlockManagement< Index, Scalar, Packet, n, idx, RowMajor >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(Scalar *to, const Index stride, Index i, Index j, const PacketBlock< Packet, n > &block) const
Definition: BlasUtil.h:133
Eigen::internal::variable_if_dynamic::value
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR T value()
Definition: XprHelper.h:135
l
static const Line3 l(Rot3(), 1, 1)
Eigen::internal::PacketBlockManagement::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(Scalar *to, const Index stride, Index i, Index j, const PacketBlock< Packet, n > &block) const
Definition: BlasUtil.h:122
Eigen::internal::blas_data_mapper::blas_data_mapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE blas_data_mapper(Scalar *data, Index stride, Index incr)
Definition: BlasUtil.h:274
EIGEN_STRONG_INLINE
#define EIGEN_STRONG_INLINE
Definition: Macros.h:917
Eigen::internal::get_factor::run
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE To run(const From &x)
Definition: BlasUtil.h:43
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain >, NestedXpr > >::ExtractType
Base::ExtractType ExtractType
Definition: BlasUtil.h:452
Eigen::internal::extract_data_selector
Definition: BlasUtil.h:520
Eigen::internal::const_blas_data_mapper::const_blas_data_mapper
EIGEN_ALWAYS_INLINE const_blas_data_mapper(const Scalar *data, Index stride)
Definition: BlasUtil.h:391
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain >, NestedXpr > >::Base
blas_traits< NestedXpr > Base
Definition: BlasUtil.h:450
Eigen::Specialized
@ Specialized
Definition: Constants.h:310
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_opposite_op< Scalar >, NestedXpr > >::extract
static ExtractType extract(const XprType &x)
Definition: BlasUtil.h:488
Eigen::internal::Packet
Definition: ZVector/PacketMath.h:47
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_conjugate_op< Scalar >, NestedXpr > >::extractScalarFactor
static Scalar extractScalarFactor(const XprType &x)
Definition: BlasUtil.h:439
m
Matrix3f m
Definition: AngleAxis_mimic_euler.cpp:1
EIGEN_ALWAYS_INLINE
#define EIGEN_ALWAYS_INLINE
Definition: Macros.h:932
Eigen::Triplet< double >
Eigen::internal::extract_data_selector::run
EIGEN_DEVICE_FUNC static const EIGEN_ALWAYS_INLINE T::Scalar * run(const T &m)
Definition: BlasUtil.h:521
Eigen::internal::get_factor
Definition: BlasUtil.h:42
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, std::complex< double >, n, idx >::spbh
storePacketBlock_helper< SubPacket, std::complex< double >, n, idx-1 > spbh
Definition: BlasUtil.h:343
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::stride
const EIGEN_DEVICE_FUNC Index stride() const
Definition: BlasUtil.h:216
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >::loadPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType loadPacket(Index i) const
Definition: BlasUtil.h:97
Eigen::internal::BlasVectorMapper::BlasVectorMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE BlasVectorMapper(Scalar *data)
Definition: BlasUtil.h:55
Eigen::internal::blas_data_mapper::storePacketBlock_helper::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(const blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, Incr > *sup, Index i, Index j, const PacketBlock< SubPacket, n > &block) const
Definition: BlasUtil.h:315
Eigen::internal::gemm_pack_rhs
Definition: BlasUtil.h:25
Eigen::internal::blas_traits::Scalar
traits< XprType >::Scalar Scalar
Definition: BlasUtil.h:404
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::storePacketBlock
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacketBlock(Index i, Index j, const PacketBlock< SubPacket, n > &block) const
Definition: BlasUtil.h:227
XprType
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
Definition: nestbyvalue.cpp:15
Eigen::internal::blas_traits::extract
static EIGEN_DEVICE_FUNC ExtractType extract(const XprType &x)
Definition: BlasUtil.h:421
Eigen::internal::inner_stride_at_compile_time
Definition: DenseCoeffsBase.h:658
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >::m_data
Scalar * m_data
Definition: BlasUtil.h:107
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_opposite_op< Scalar >, NestedXpr > >::XprType
CwiseUnaryOp< scalar_opposite_op< Scalar >, NestedXpr > XprType
Definition: BlasUtil.h:486
Eigen::internal::prefetch
EIGEN_DEVICE_FUNC void prefetch(const Scalar *addr)
Definition: GenericPacketMath.h:719
Eigen::internal::PacketBlockManagement< Index, Scalar, Packet, n, -1, RowMajor >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(Scalar *to, const Index stride, Index i, Index j, const PacketBlock< Packet, n > &block) const
Definition: BlasUtil.h:154
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, NestedXpr, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain > > >::Base
blas_traits< NestedXpr > Base
Definition: BlasUtil.h:464
Eigen::internal::blas_data_mapper
Definition: BlasUtil.h:112
Eigen::internal::combine_scalar_factors_impl< bool, Lhs, Rhs >::run
EIGEN_DEVICE_FUNC static EIGEN_ALWAYS_INLINE bool run(const bool &alpha, const Lhs &lhs, const Rhs &rhs)
Definition: BlasUtil.h:561
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >::prefetch
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void prefetch(int i) const
Definition: BlasUtil.h:88
Eigen::internal::traits
Definition: ForwardDeclarations.h:17
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, std::complex< double >, n, -1 >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(const blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, Incr > *, Index, Index, const PacketBlock< SubPacket, n > &) const
Definition: BlasUtil.h:372
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >::storePacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void storePacket(Index i, const PacketType &p) const
Definition: BlasUtil.h:102
Eigen::internal::gemm_pack_lhs
Definition: BlasUtil.h:28
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_opposite_op< Scalar >, NestedXpr > >::ExtractType
Base::ExtractType ExtractType
Definition: BlasUtil.h:487
Eigen::internal::blas_traits< Transpose< NestedXpr > >::Scalar
NestedXpr::Scalar Scalar
Definition: BlasUtil.h:498
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::m_stride
const Index m_stride
Definition: BlasUtil.h:233
Eigen::internal::get_factor< Scalar, typename NumTraits< Scalar >::Real >::run
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NumTraits< Scalar >::Real run(const Scalar &x)
Definition: BlasUtil.h:48
Eigen::internal::const_blas_data_mapper
Definition: BlasUtil.h:389
Eigen::internal::blas_data_mapper::storePacketBlock_helper
Definition: BlasUtil.h:312
Eigen::internal::blas_traits::IsComplex
@ IsComplex
Definition: BlasUtil.h:408
Eigen::internal::scalar_opposite_op
Definition: UnaryFunctors.h:22
Eigen::AlignmentType
AlignmentType
Definition: Constants.h:232
Eigen::internal::combine_scalar_factors_impl< bool, Lhs, Rhs >::run
EIGEN_DEVICE_FUNC static EIGEN_ALWAYS_INLINE bool run(const Lhs &lhs, const Rhs &rhs)
Definition: BlasUtil.h:557
Eigen::internal::Rhs
@ Rhs
Definition: TensorContractionMapper.h:18
Eigen::CwiseUnaryOp
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:55
Eigen::internal::extract_data
EIGEN_DEVICE_FUNC const EIGEN_ALWAYS_INLINE T::Scalar * extract_data(const T &m)
Definition: BlasUtil.h:533
Eigen::internal::combine_scalar_factors_impl
Definition: BlasUtil.h:543
std
Definition: BFloat16.h:88
Eigen::internal::BlasLinearMapper::BlasLinearMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE BlasLinearMapper(Scalar *data, Index incr)
Definition: BlasUtil.h:243
Eigen::internal::blas_traits< Transpose< NestedXpr > >::extractScalarFactor
static Scalar extractScalarFactor(const XprType &x)
Definition: BlasUtil.h:511
Eigen::internal::conditional
Definition: Meta.h:109
Eigen::internal::blas_data_mapper::storePacketBlock_helper< SubPacket, std::complex< double >, n, idx >::store
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void store(const blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, Incr > *sup, Index i, Index j, const PacketBlock< SubPacket, n > &block) const
Definition: BlasUtil.h:344
p
float * p
Definition: Tutorial_Map_using.cpp:9
Eigen::internal::blas_data_mapper::m_stride
const Index m_stride
Definition: BlasUtil.h:383
Real
mp::number< mp::cpp_dec_float< 100 >, mp::et_on > Real
Definition: boostmultiprec.cpp:78
Eigen::internal::blas_data_mapper::getLinearMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE LinearMapper getLinearMapper(Index i, Index j) const
Definition: BlasUtil.h:281
v
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_conjugate_op< Scalar >, NestedXpr > >::extract
static ExtractType extract(const XprType &x)
Definition: BlasUtil.h:438
Eigen::internal::blas_data_mapper::m_incr
const internal::variable_if_dynamic< Index, Incr > m_incr
Definition: BlasUtil.h:384
Eigen::internal::blas_traits
Definition: BlasUtil.h:402
Eigen::internal::first_default_aligned
static Index first_default_aligned(const DenseBase< Derived > &m)
Definition: DenseCoeffsBase.h:650
Eigen::internal::BlasVectorMapper::operator()
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar operator()(Index i) const
Definition: BlasUtil.h:57
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::loadPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType loadPacket(Index i, Index j) const
Definition: BlasUtil.h:197
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::VectorMapper
BlasVectorMapper< Scalar, Index > VectorMapper
Definition: BlasUtil.h:168
internal
Definition: BandTriangularSolver.h:13
Eigen::internal::blas_traits::HasUsableDirectAccess
@ HasUsableDirectAccess
Definition: BlasUtil.h:411
Eigen::internal::blas_traits::extractScalarFactor
static const EIGEN_DEVICE_FUNC Scalar extractScalarFactor(const XprType &)
Definition: BlasUtil.h:422
Eigen::internal::size
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, NestedXpr, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain > > >::extractScalarFactor
static Scalar extractScalarFactor(const XprType &x)
Definition: BlasUtil.h:468
Eigen::internal::extract_data_selector< T, false >::run
static T::Scalar * run(const T &)
Definition: BlasUtil.h:529
Eigen::internal::BlasLinearMapper
Definition: BlasUtil.h:75
Eigen::internal::BlasLinearMapper::m_incr
const internal::variable_if_dynamic< Index, Incr > m_incr
Definition: BlasUtil.h:265
Eigen::internal::blas_data_mapper::loadPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType loadPacket(Index i, Index j) const
Definition: BlasUtil.h:291
Eigen::NumTraits
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Definition: NumTraits.h:232
i
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Eigen::internal::blas_data_mapper::scatterPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void scatterPacket(Index i, Index j, const SubPacket &p) const
Definition: BlasUtil.h:301
Eigen::internal::blas_data_mapper::load
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketT load(Index i, Index j) const
Definition: BlasUtil.h:296
Eigen::internal::BlasLinearMapper< Scalar, Index, AlignmentType >
Definition: BlasUtil.h:78
Eigen::internal::blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType, 1 >::getSubMapper
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE blas_data_mapper< Scalar, Index, StorageOrder, AlignmentType > getSubMapper(Index i, Index j) const
Definition: BlasUtil.h:178
Eigen::internal::scalar_conjugate_op
Definition: UnaryFunctors.h:109
Eigen::internal::general_matrix_matrix_product
Definition: BlasUtil.h:35
Eigen::internal::combine_scalar_factors
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE ResScalar combine_scalar_factors(const ResScalar &alpha, const Lhs &lhs, const Rhs &rhs)
Definition: BlasUtil.h:568
Eigen::internal::BlasLinearMapper::operator()
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Scalar & operator()(Index i) const
Definition: BlasUtil.h:249
complex
Definition: datatypes.h:12
Scalar
SCALAR Scalar
Definition: bench_gemm.cpp:46
Eigen::internal::BlasLinearMapper::loadPacket
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE PacketType loadPacket(Index i) const
Definition: BlasUtil.h:254
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
Eigen::internal::blas_traits< Transpose< NestedXpr > >::XprType
Transpose< NestedXpr > XprType
Definition: BlasUtil.h:500
Eigen::internal::blas_traits< CwiseBinaryOp< scalar_product_op< Scalar >, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain >, NestedXpr > >::XprType
CwiseBinaryOp< scalar_product_op< Scalar >, const CwiseNullaryOp< scalar_constant_op< Scalar >, Plain >, NestedXpr > XprType
Definition: BlasUtil.h:451
Eigen::internal::blas_traits< CwiseUnaryOp< scalar_conjugate_op< Scalar >, NestedXpr > >::XprType
CwiseUnaryOp< scalar_conjugate_op< Scalar >, NestedXpr > XprType
Definition: BlasUtil.h:431


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:56