The first step to be taken in order to migrate from ublas dense matrix and vectors to AMatrix consists in use of Kratos alias for different matrix and vector classes of ublas doing the following replaces which are recommended to be done in following order:
- Replacing the
boost::numeric::ublas::vector
withDenseVector
- Replacing the
boost::numeric::ublas::matrix
withDenseMatrix
- Replacing the
boost::numeric::ublas::bounded_vector
withBoundedVector
- Replacing the
boost::numeric::ublas::bounded_matrix
withBoundedMatrix
- Replacing the
bounded_vector
withBoundedVector
- Replacing the
bounded_matrix
withBoundedMatrix
- Relplacing the
matrix<
withDenseMatrix<
NOTE: the<
character should be included in this step to avoid unnecessary changes - Replacing the
boost::numeric::ublas::prod
withprod
- Replacing the
boost::numeric::ublas::trans
withtrans