autoppl  v0.8
A C++ template library for probabilistic programming
dot.hpp File Reference
#include <fastad_bits/reverse/core/dot.hpp>
#include <autoppl/util/traits/traits.hpp>

Go to the source code of this file.

Classes

class  ppl::expr::var::DotNode< LHSVarExprType, RHSVarExprType >
 

Namespaces

 ppl
 
 ppl::expr
 
 ppl::expr::var
 

Macros

#define PPL_DOT_MAT_VEC
 

Functions

template<class LHSVarExprType , class RHSVarExprType , class = std::enable_if_t< (util::is_var_v<LHSVarExprType> || util::is_var_expr_v<LHSVarExprType>) && (util::is_var_v<RHSVarExprType> || util::is_var_expr_v<RHSVarExprType>) >>
constexpr auto ppl::dot (const LHSVarExprType &lhs, const RHSVarExprType &rhs)
 

Macro Definition Documentation

◆ PPL_DOT_MAT_VEC

#define PPL_DOT_MAT_VEC
Value:
"Dot product is only supported for matrix as lhs argument " \
"and a matrix or vector as rhs argument. "