45 typedef const_blas_data_mapper<Scalar, Index, TriStorageOrder> TriMapper;
46 typedef blas_data_mapper<Scalar, Index, ColMajor, Unaligned, OtherInnerStride> OtherMapper;
47 TriMapper
tri(_tri, triStride);
48 OtherMapper other(_other, otherStride, otherIncr);
51 conj_if<Conjugate>
conj;
58 Index s = TriStorageOrder ==
RowMajor ? (IsLower ? 0 :
i + 1) : IsLower ?
i + 1 :
i - rs;
61 for (
Index j = 0;
j < otherSize; ++
j) {
65 typename OtherMapper::LinearMapper
r = other.getLinearMapper(
s,
j);
66 for (
Index i3 = 0; i3 <
k; ++i3)
b +=
conj(l[i3]) *
r(i3);
68 other(
i,
j) = (other(
i,
j) -
b) *
a;
73 typename OtherMapper::LinearMapper
r = other.getLinearMapper(
s,
j);
74 typename TriMapper::LinearMapper l =
tri.getLinearMapper(
s,
i);
75 for (
Index i3 = 0; i3 < rs; ++i3)
r(i3) -=
b *
conj(l(i3));
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Tridiagonalization< MatrixXf > tri
Definition: Tridiagonalization_compute.cpp:1
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
Scalar * b
Definition: benchVecAdd.cpp:17
SCALAR Scalar
Definition: bench_gemm.cpp:45
@ UnitDiag
Definition: Constants.h:215
@ Lower
Definition: Constants.h:211
@ RowMajor
Definition: Constants.h:320
RealScalar s
Definition: level1_cplx_impl.h:130
const Scalar * a
Definition: level2_cplx_impl.h:32
char char char int int * k
Definition: level2_impl.h:374
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
const AutoDiffScalar< DerType > & conj(const AutoDiffScalar< DerType > &x)
Definition: AutoDiffScalar.h:482
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2