Eigen::internal::apply_rotation_in_the_plane_selector< Scalar, OtherScalar, SizeAtCompileTime, MinAlignment, Vectorizable > Struct Template Reference

#include <Jacobi.h>

Static Public Member Functions

static EIGEN_DEVICE_FUNC void run (Scalar *x, Index incrx, Scalar *y, Index incry, Index size, OtherScalar c, OtherScalar s)
 

Member Function Documentation

◆ run()

template<typename Scalar , typename OtherScalar , int SizeAtCompileTime, int MinAlignment, bool Vectorizable>
static EIGEN_DEVICE_FUNC void Eigen::internal::apply_rotation_in_the_plane_selector< Scalar, OtherScalar, SizeAtCompileTime, MinAlignment, Vectorizable >::run ( Scalar x,
Index  incrx,
Scalar y,
Index  incry,
Index  size,
OtherScalar  c,
OtherScalar  s 
)
inlinestatic
288  {
289  for (Index i = 0; i < size; ++i) {
290  Scalar xi = *x;
291  Scalar yi = *y;
292  *x = c * xi + numext::conj(s) * yi;
293  *y = -s * xi + numext::conj(c) * yi;
294  x += incrx;
295  y += incry;
296  }
297  }
AnnoyingScalar conj(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:133
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
SCALAR Scalar
Definition: bench_gemm.cpp:45
RealScalar s
Definition: level1_cplx_impl.h:130
const Scalar & y
Definition: RandomImpl.h:36
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
int c
Definition: calibrate.py:100
list x
Definition: plotDoE.py:28

References calibrate::c, conj(), i, s, size, plotDoE::x, and Eigen::internal::y.

Referenced by Eigen::internal::apply_rotation_in_the_plane(), and Eigen::internal::apply_rotation_in_the_plane_selector< Scalar, OtherScalar, SizeAtCompileTime, MinAlignment, true >::run().


The documentation for this struct was generated from the following file: