Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
assign.hpp File Reference
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/scal/err/invalid_argument.hpp>
#include <stan/math/prim/scal/err/check_size_match.hpp>
#include <stan/math/prim/arr/err/check_matching_sizes.hpp>
#include <stan/math/prim/mat/err/check_matching_dims.hpp>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<int N>
void stan::math::print_mat_size (std::ostream &o)
 Helper function to return the matrix size as either "dynamic" or "1". More...
 
template<typename T_lhs , typename T_rhs >
void stan::math::assign (T_lhs &x, const T_rhs &y)
 Copy the right-hand side's value to the left-hand side variable. More...
 
template<typename T_lhs , typename T_rhs , int R1, int C1, int R2, int C2>
void stan::math::assign (Eigen::Matrix< T_lhs, R1, C1 > &x, const Eigen::Matrix< T_rhs, R2, C2 > &y)
 Copy the right-hand side's value to the left-hand side variable. More...
 
template<typename T_lhs , typename T_rhs , int R, int C>
void stan::math::assign (Eigen::Matrix< T_lhs, R, C > &x, const Eigen::Matrix< T_rhs, R, C > &y)
 Copy the right-hand side's value to the left-hand side variable. More...
 
template<typename T_lhs , typename T , int R, int C>
void stan::math::assign (Eigen::Block< T_lhs > x, const Eigen::Matrix< T, R, C > &y)
 Copy the right-hand side's value to the left-hand side variable. More...
 
template<typename T_lhs , typename T_rhs >
void stan::math::assign (std::vector< T_lhs > &x, const std::vector< T_rhs > &y)
 Copy the right-hand side's value to the left-hand side variable. More...
 

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