I am attempting to understand how some of the UBLAS libraries work. Currently I am looking at the implementation described in matrix_expression.hpp and specifically a small section of code that computes the outer product of a matrix. However, I am having some dificulty comprehending all of the code. I have read through the online documentation, and it has helped, but I am still unclear on many parts. So, if anyone could help me out by explaining to me how this operates I would be most grateful.
Below is the code I need help understanding. It is a function template that computes a product. What is confusing me is that I don't know what vector_matrix_binary_traits()
and scalar_multiplies() do. I also don't understand, what BOOST_UBLAS_INLINE is
supposed to accomplish. And lastly, what is value_type and
expression_type ?