Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
is_symmetric.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/err/constraint_tolerance.hpp>
#include <stan/math/prim/mat/err/is_square.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/value_of.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_y >
bool stan::math::is_symmetric (const Eigen::Matrix< T_y, Eigen::Dynamic, Eigen::Dynamic > &y)
 Return true if the matrix is square, and no element not on the main diagonal is NaN. More...
 

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