Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/dot_product.hpp>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename Mat , typename Scal , require_stan_scalar_t< Scal > * = nullptr, require_eigen_t< Mat > * = nullptr, require_all_not_st_var< Scal, Mat > * = nullptr, require_all_not_complex_t< Scal, value_type_t< Mat > > * = nullptr> | |
auto | stan::math::multiply (const Mat &m, Scal c) |
Return specified matrix multiplied by specified scalar. | |
template<typename Mat , typename Scal , require_any_complex_t< value_type_t< Mat >, Scal > * = nullptr, require_eigen_t< Mat > * = nullptr, require_not_eigen_t< Scal > * = nullptr> | |
auto | stan::math::multiply (const Mat &m, Scal c) |
Return the product of the specified matrix and scalar, one of which must have a complex value type. | |
template<typename Mat , typename Scal , require_any_complex_t< value_type_t< Mat >, Scal > * = nullptr, require_eigen_t< Mat > * = nullptr, require_not_eigen_t< Scal > * = nullptr> | |
auto | stan::math::multiply (const Scal &m, const Mat &c) |
Return the product of the specified matrix and scalar, one of which must have a complex value type. | |
template<typename Scal , typename Mat , require_stan_scalar_t< Scal > * = nullptr, require_eigen_t< Mat > * = nullptr, require_all_not_st_var< Scal, Mat > * = nullptr, require_all_not_complex_t< Scal, value_type_t< Mat > > * = nullptr> | |
auto | stan::math::multiply (Scal c, const Mat &m) |
Return specified scalar multiplied by specified matrix. | |
template<typename Mat1 , typename Mat2 , require_all_eigen_vt< std::is_arithmetic, Mat1, Mat2 > * = nullptr, require_not_eigen_row_and_col_t< Mat1, Mat2 > * = nullptr> | |
auto | stan::math::multiply (const Mat1 &m1, const Mat2 &m2) |
Return the product of the specified matrices. | |
template<typename Mat1 , typename Mat2 , require_all_eigen_vt< is_fvar, Mat1, Mat2 > * = nullptr, require_vt_same< Mat1, Mat2 > * = nullptr, require_not_eigen_row_and_col_t< Mat1, Mat2 > * = nullptr> | |
auto | stan::math::multiply (const Mat1 &m1, const Mat2 &m2) |
Return the product of the specified matrices. | |
template<typename RowVec , typename ColVec , require_not_var_t< return_type_t< RowVec, ColVec > > * = nullptr, require_eigen_row_and_col_t< RowVec, ColVec > * = nullptr> | |
auto | stan::math::multiply (const RowVec &rv, const ColVec &v) |
Return the scalar product of the specified row vector and specified column vector. | |
template<typename Scalar1 , typename Scalar2 , require_all_stan_scalar_t< Scalar1, Scalar2 > * = nullptr> | |
return_type_t< Scalar1, Scalar2 > | stan::math::multiply (Scalar1 m, Scalar2 c) |
Return product of scalars. | |