Please, help us to better know about our user community by answering the following short survey:
https://forms.gle/wpyrxWi18ox9Z5ae9
Eigen
3.4.0
Loading...
Searching...
No Matches
DiagonalProduct.h
1
// This file is part of Eigen, a lightweight C++ template library
2
// for linear algebra.
3
//
4
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
5
// Copyright (C) 2007-2009 Benoit Jacob <jacob.benoit.1@gmail.com>
6
//
7
// This Source Code Form is subject to the terms of the Mozilla
8
// Public License v. 2.0. If a copy of the MPL was not distributed
9
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
11
#ifndef EIGEN_DIAGONALPRODUCT_H
12
#define EIGEN_DIAGONALPRODUCT_H
13
14
namespace
Eigen
{
15
18
template
<
typename
Derived>
19
template
<
typename
DiagonalDerived>
20
EIGEN_DEVICE_FUNC
inline
const
Product<Derived, DiagonalDerived, LazyProduct>
21
MatrixBase<Derived>::operator*
(
const
DiagonalBase<DiagonalDerived> &a_diagonal)
const
22
{
23
return
Product<Derived, DiagonalDerived, LazyProduct>
(
derived
(),a_diagonal.derived());
24
}
25
26
}
// end namespace Eigen
27
28
#endif
// EIGEN_DIAGONALPRODUCT_H
Eigen::DenseCoeffsBase< Derived, DirectWriteAccessors >::derived
Derived & derived()
Definition
EigenBase.h:46
Eigen::MatrixBase::operator*
const CwiseBinaryOp< internal::scalar_product_op< Scalar, T >, Derived, Constant< T > > operator*(const T &scalar) const
Eigen::Product
Expression of the product of two arbitrary matrices or vectors.
Definition
Product.h:75
Eigen
Namespace containing all symbols from the Eigen library.
Definition
Core:141
Eigen
src
Core
DiagonalProduct.h
Generated on Tue Oct 29 2024 00:00:00 for Eigen by
1.13.2