Stan  1.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Namespaces | Functions
dot_product.hpp File Reference
#include <vector>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/math/matrix/typedefs.hpp>
#include <stan/math/matrix/validate_vector.hpp>
#include <stan/math/matrix/validate_matching_sizes.hpp>
#include <stan/agrad/rev/var.hpp>
#include <stan/agrad/rev/vari.hpp>
#include <stan/agrad/rev/matrix/typedefs.hpp>

Go to the source code of this file.

Namespaces

namespace  stan
 Probability, optimization and sampling library.
 
namespace  stan::agrad
 Function gradients via reverse-mode automatic differentiation.
 

Functions

template<int R1, int C1, int R2, int C2>
var stan::agrad::dot_product (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 Returns the dot product.
 
template<int R1, int C1, int R2, int C2>
var stan::agrad::dot_product (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< double, R2, C2 > &v2)
 Returns the dot product.
 
template<int R1, int C1, int R2, int C2>
var stan::agrad::dot_product (const Eigen::Matrix< double, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 Returns the dot product.
 
var stan::agrad::dot_product (const var *v1, const var *v2, size_t length)
 Returns the dot product.
 
var stan::agrad::dot_product (const var *v1, const double *v2, size_t length)
 Returns the dot product.
 
var stan::agrad::dot_product (const double *v1, const var *v2, size_t length)
 Returns the dot product.
 
var stan::agrad::dot_product (const std::vector< var > &v1, const std::vector< var > &v2)
 Returns the dot product.
 
var stan::agrad::dot_product (const std::vector< var > &v1, const std::vector< double > &v2)
 Returns the dot product.
 
var stan::agrad::dot_product (const std::vector< double > &v1, const std::vector< var > &v2)
 Returns the dot product.
 
template<int R1, int C1, int R2, int C2>
Eigen::Matrix< var, 1, C1 > stan::agrad::columns_dot_product (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
Eigen::Matrix< var, 1, C1 > stan::agrad::columns_dot_product (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< double, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
Eigen::Matrix< var, 1, C1 > stan::agrad::columns_dot_product (const Eigen::Matrix< double, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
Eigen::Matrix< var, R1, 1 > stan::agrad::rows_dot_product (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
Eigen::Matrix< var, R1, 1 > stan::agrad::rows_dot_product (const Eigen::Matrix< var, R1, C1 > &v1, const Eigen::Matrix< double, R2, C2 > &v2)
 
template<int R1, int C1, int R2, int C2>
Eigen::Matrix< var, R1, 1 > stan::agrad::rows_dot_product (const Eigen::Matrix< double, R1, C1 > &v1, const Eigen::Matrix< var, R2, C2 > &v2)
 

Variable Documentation

size_t length_

Definition at line 21 of file dot_product.hpp.

vari** v1_
static

Definition at line 19 of file dot_product.hpp.

double* v2_

Definition at line 20 of file dot_product.hpp.


     [ Stan Home Page ] © 2011–2013, Stan Development Team.