14 #if !defined(KRATOS_UBLAS_INTERFACE_H_INCLUDED )
15 #define KRATOS_UBLAS_INTERFACE_H_INCLUDED
24 #include <boost/numeric/ublas/matrix.hpp>
25 #include <boost/numeric/ublas/vector.hpp>
26 #include <boost/numeric/ublas/vector_proxy.hpp>
27 #include <boost/numeric/ublas/vector_sparse.hpp>
28 #include <boost/numeric/ublas/vector_expression.hpp>
29 #include <boost/numeric/ublas/matrix_proxy.hpp>
30 #include <boost/numeric/ublas/symmetric.hpp>
31 #include <boost/numeric/ublas/hermitian.hpp>
32 #include <boost/numeric/ublas/banded.hpp>
33 #include <boost/numeric/ublas/triangular.hpp>
34 #include <boost/numeric/ublas/lu.hpp>
36 #include <boost/numeric/ublas/io.hpp>
37 #include <boost/numeric/ublas/matrix_sparse.hpp>
38 #include <boost/numeric/ublas/operation.hpp>
39 #include <boost/numeric/ublas/operation_sparse.hpp>
54 using namespace boost::numeric::ublas;
56 template <
typename TDataType>
using DenseMatrix = boost::numeric::ublas::matrix<TDataType>;
57 template <
typename TDataType>
using DenseVector = boost::numeric::ublas::vector<TDataType>;
59 template <
typename TDataType, std::
size_t TSize1, std::
size_t TSize2>
using BoundedMatrix = boost::numeric::ublas::bounded_matrix<TDataType, TSize1, TSize2>;
60 template <
typename TDataType, std::
size_t TSize>
using BoundedVector = boost::numeric::ublas::bounded_vector<TDataType, TSize>;
63 typedef boost::numeric::ublas::vector<double>
Vector;
75 typedef matrix<double>
Matrix;
92 template <
typename TExpressionType>
using MatrixRow = matrix_row<TExpressionType>;
Definition: amatrix_interface.h:701
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
matrix_slice< Matrix > MatrixSlice
Definition: ublas_interface.h:90
mapped_matrix< double > SparseMatrix
Definition: ublas_interface.h:84
AMatrix::IdentityMatrix< double > IdentityMatrix
Definition: amatrix_interface.h:564
unit_vector< double > UnitVector
Definition: ublas_interface.h:64
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
vector_range< Vector > VectorRange
Definition: ublas_interface.h:72
vector_slice< Vector > VectorSlice
Definition: ublas_interface.h:73
boost::numeric::ublas::compressed_matrix< double > CompressedMatrix
Definition: ublas_interface.h:94
KratosZeroMatrix< double > ZeroMatrix
Definition: amatrix_interface.h:559
AMatrix::MatrixRow< TExpressionType > MatrixRow
Definition: amatrix_interface.h:492
scalar_vector< double > ScalarVector
Definition: ublas_interface.h:66
matrix_vector_slice< Matrix > MatrixVectorSlice
Definition: ublas_interface.h:88
hermitian_matrix< double > HermitianMatrix
Definition: ublas_interface.h:81
banded_matrix< double > BandedMatrix
Definition: ublas_interface.h:82
Internals::Matrix< double, AMatrix::dynamic, AMatrix::dynamic > Matrix
Definition: amatrix_interface.h:470
matrix_vector_range< Matrix > MatrixVectorRange
Definition: ublas_interface.h:87
mapped_vector< double > SparseVector
Definition: ublas_interface.h:68
Internals::Matrix< TDataType, AMatrix::dynamic, AMatrix::dynamic > DenseMatrix
Definition: amatrix_interface.h:474
coordinate_vector< double > CoordinateVector
Definition: ublas_interface.h:71
symmetric_matrix< double > SymmetricMatrix
Definition: ublas_interface.h:80
compressed_vector< double > CompressedVector
Definition: ublas_interface.h:70
matrix_range< Matrix > MatrixRange
Definition: ublas_interface.h:89
scalar_matrix< double > ScalarMatrix
Definition: amatrix_interface.h:728
Internals::Matrix< TDataType, AMatrix::dynamic, 1 > DenseVector
Definition: amatrix_interface.h:476
Internals::Matrix< TDataType, TSize, 1 > BoundedVector
Definition: amatrix_interface.h:478
coordinate_matrix< double > CoordinateMatrix
Definition: ublas_interface.h:85
matrix_column< Matrix > MatrixColumn
Definition: ublas_interface.h:86
Internals::Matrix< TDataType, TSize1, TSize2 > BoundedMatrix
Definition: amatrix_interface.h:480
triangular_matrix< double > TriangularMatrix
Definition: ublas_interface.h:79