title: Boost::uBLAS vs Eigen
body: <p>I am used to Eigen for almost all my mathematical linear algebra work.
  Recently, I have discovered that Boost also provides a C++ template class library that provides Basic Linear Algebra Library (<a href="http://www.boost.org/doc/libs/1_60_0/libs/numeric/ublas/doc/index.html" rel="noreferrer">Boost::uBLAS</a>). This got me wondering if I can get all my work based only on boost as it is already a major library for my code.</p>
  
  <p>A closer look at both didn't really got me a clearer distinction between them: </p>
  
  <ul>
  <li>Boost::uBLAS :</li>
  </ul>
  
  <blockquote>
    <p>uBLAS provides templated C++ classes for dense, unit and sparse vectors, dense, identity, triangular, banded, symmetric, hermitian and sparse matrices. Views into vectors and matrices can be constructed via ranges, slices, adaptor classes and indirect arrays. The library covers the usual basic linear algebra operations on vectors and matrices: reductions like different norms, addition and subtraction of vectors and matrices and multiplication with a scalar, inner and outer products of vectors, matrix vector and matrix matrix products and triangular solver.</p>
    
    <p>...</p>
  </blockquote>
  
  <ul>
  <li>Eigen :</li>
  </ul>
  
  <blockquote>
    <p>It supports all matrix sizes, from small fixed-size matrices to arbitrarily large dense matrices, and even sparse matrices.</p>
    
    <p>It supports all standard numeric types, including std::complex, integers, and is easily extensible to custom numeric types.</p>
    
    <p>It supports various matrix decompositions and geometry features.</p>
    
    <p>Its ecosystem of unsupported modules provides many specialized features such as non-linear optimization, matrix functions, a polynomial solver, FFT, and much more.</p>
    
    <p>...</p>
  </blockquote>
  
  <p>Does anyone have a better idea about their key differences and on which basis can we choose between them? </p>