mirror of
https://github.com/boostorg/ublas.git
synced 2026-02-19 14:52:17 +00:00
Untabification
[SVN r30057]
This commit is contained in:
@@ -973,7 +973,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
matrix_type (size, size) {}
|
||||
BOOST_UBLAS_INLINE
|
||||
diagonal_matrix (size_type size, const array_type& data):
|
||||
matrix_type (size, size, 0, 0, data) {}
|
||||
matrix_type (size, size, 0, 0, data) {}
|
||||
BOOST_UBLAS_INLINE
|
||||
diagonal_matrix (size_type size1, size_type size2):
|
||||
matrix_type (size1, size2) {}
|
||||
|
||||
@@ -524,7 +524,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef typename SE::value_type value_type;
|
||||
|
||||
static void constraints () {
|
||||
scalar_expression_type *sp;
|
||||
scalar_expression_type *sp;
|
||||
scalar_expression_type s = *sp;
|
||||
value_type t;
|
||||
// Conversion
|
||||
@@ -543,8 +543,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef typename VE::const_reverse_iterator const_reverse_iterator_type;
|
||||
|
||||
static void constraints () {
|
||||
vector_expression_type *vp;
|
||||
const vector_expression_type *cvp;
|
||||
vector_expression_type *vp;
|
||||
const vector_expression_type *cvp;
|
||||
vector_expression_type v = *vp;
|
||||
const vector_expression_type cv = *cvp;
|
||||
size_type n (0), i (0);
|
||||
@@ -582,7 +582,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef typename VE::reverse_iterator reverse_iterator_type;
|
||||
|
||||
static void constraints () {
|
||||
vector_expression_type *vp;
|
||||
vector_expression_type *vp;
|
||||
AssignableConcept<vector_expression_type>::constraints (*vp);
|
||||
VectorExpressionConcept<vector_expression_type>::constraints ();
|
||||
vector_expression_type v = *vp, v1 = *vp, v2 = *vp;
|
||||
@@ -628,8 +628,8 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef typename ME::const_reverse_iterator2 const_reverse_subiterator2_type;
|
||||
|
||||
static void constraints () {
|
||||
matrix_expression_type *mp;
|
||||
const matrix_expression_type *cmp;
|
||||
matrix_expression_type *mp;
|
||||
const matrix_expression_type *cmp;
|
||||
matrix_expression_type m = *mp;
|
||||
const matrix_expression_type cm = *cmp;
|
||||
size_type n (0), i (0), j (0);
|
||||
@@ -680,7 +680,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef typename ME::reverse_iterator2 reverse_subiterator2_type;
|
||||
|
||||
static void constraints () {
|
||||
matrix_expression_type *mp;
|
||||
matrix_expression_type *mp;
|
||||
AssignableConcept<matrix_expression_type>::constraints (*mp);
|
||||
MatrixExpressionConcept<matrix_expression_type>::constraints ();
|
||||
matrix_expression_type m = *mp, m1 = *mp, m2 = *mp;
|
||||
|
||||
@@ -199,7 +199,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef vector_slice<E> vector_slice_type;
|
||||
typedef vector_slice<const E> const_vector_slice_type;
|
||||
// vector_indirect_type will depend on the A template parameter
|
||||
typedef basic_range<> default_range; // required to avoid range/slice name confusion
|
||||
typedef basic_range<> default_range; // required to avoid range/slice name confusion
|
||||
typedef basic_slice<> default_slice;
|
||||
public:
|
||||
// projection functions - projects must be constructable from default size_t, range and slice types
|
||||
@@ -343,7 +343,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef matrix_slice<E> matrix_slice_type;
|
||||
typedef const matrix_slice<const E> const_matrix_slice_type;
|
||||
// matrix_indirect_type will depend on the A template parameter
|
||||
typedef basic_range<> default_range; // required to avoid range/slice name confusion
|
||||
typedef basic_range<> default_range; // required to avoid range/slice name confusion
|
||||
typedef basic_slice<> default_slice;
|
||||
|
||||
public:
|
||||
|
||||
@@ -49,10 +49,10 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
};
|
||||
|
||||
|
||||
// Type traits - generic numeric properties and functions
|
||||
// Type traits - generic numeric properties and functions
|
||||
template<class T>
|
||||
struct type_traits;
|
||||
|
||||
|
||||
// Define properties for a generic scalar type
|
||||
template<class T>
|
||||
struct scalar_traits {
|
||||
@@ -62,7 +62,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef T &reference;
|
||||
|
||||
typedef T real_type;
|
||||
typedef real_type precision_type; // we do not know what type has more precision then the real_type
|
||||
typedef real_type precision_type; // we do not know what type has more precision then the real_type
|
||||
|
||||
static const unsigned plus_complexity = 1;
|
||||
static const unsigned multiplies_complexity = 1;
|
||||
@@ -172,7 +172,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef T &reference;
|
||||
|
||||
typedef typename T::value_type real_type;
|
||||
typedef real_type precision_type; // we do not know what type has more precision then the real_type
|
||||
typedef real_type precision_type; // we do not know what type has more precision then the real_type
|
||||
|
||||
static const unsigned plus_complexity = 2;
|
||||
static const unsigned multiplies_complexity = 6;
|
||||
@@ -271,7 +271,7 @@ namespace boost { namespace numeric { namespace ublas {
|
||||
typedef const value_type &const_reference;
|
||||
typedef value_type &reference;
|
||||
typedef value_type real_type;
|
||||
typedef real_type precision_type; // we do not know what type has more precision then the real_type
|
||||
typedef real_type precision_type; // we do not know what type has more precision then the real_type
|
||||
|
||||
static const unsigned plus_complexity = 1;
|
||||
static const unsigned multiplies_complexity = 1;
|
||||
|
||||
Reference in New Issue
Block a user