Go to the documentation of this file.
7 #ifndef SPECTRA_ARNOLDI_OP_H
8 #define SPECTRA_ARNOLDI_OP_H
32 template <
typename Scalar,
typename OpType,
typename BOpType>
65 template <
typename Arg1,
typename Arg2>
74 template <
typename Arg1,
typename Arg2>
82 template <
typename Arg>
87 return sqrt(
real(inner_product<Arg, Arg>(
x,
x)));
93 m_op.perform_op(x_in, y_out);
110 template <
typename Scalar,
typename OpType>
130 template <
typename Arg1,
typename Arg2>
138 template <
typename Arg1,
typename Arg2>
141 res.noalias() =
x.adjoint() *
y;
145 template <
typename Arg>
154 m_op.perform_op(x_in, y_out);
164 #endif // SPECTRA_ARNOLDI_OP_H
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void swap(DenseBase< OtherDerived > &other)
RealScalar norm(const Arg &x) const
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
ArnoldiOp(const OpType &op, const IdentityBOp &)
typename Eigen::NumTraits< Scalar >::Real RealScalar
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Scalar inner_product(const Arg1 &x, const Arg2 &y) const
ArnoldiOp(const OpType &op, const BOpType &Bop)
void perform_op(const Scalar *x_in, Scalar *y_out) const
typename Eigen::NumTraits< Scalar >::Real RealScalar
RealScalar norm(const Arg &x) const
ArnoldiOp(ArnoldiOp &&other)
A matrix or vector expression mapping an existing expression.
void perform_op(const Scalar *x_in, Scalar *y_out) const
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Scalar * data() const
Scalar inner_product(const Arg1 &x, const Arg2 &y) const
void adjoint_product(const Arg1 &x, const Arg2 &y, Eigen::Ref< Vector > res) const
Jet< T, N > sqrt(const Jet< T, N > &f)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
void adjoint_product(const Arg1 &x, const Arg2 &y, Eigen::Ref< Vector > res) const
gtsam
Author(s):
autogenerated on Sun Feb 16 2025 04:00:56