From 86664b1ad676342a698bf69e3003ece3e9f7a7dc Mon Sep 17 00:00:00 2001
From: Michael Stevens
Date: Wed, 13 Dec 2006 15:34:05 +0000
Subject: [PATCH] [uBLAS] CHANGE zero/identity/scalar _ vector/matrix add ALLOC
template parameter to specify size/difference_type
---
doc/matrix.htm | 21 ++++++++++++++++++---
doc/vector.htm | 21 ++++++++++++++++++---
2 files changed, 36 insertions(+), 6 deletions(-)
diff --git a/doc/matrix.htm b/doc/matrix.htm
index d1f91ddf..a3de0969 100644
--- a/doc/matrix.htm
+++ b/doc/matrix.htm
@@ -304,7 +304,7 @@ for the storage array are unbounded_array<T> ,
std::vector<T> .
Identity Matrix
Description
-The templated class identity_matrix<T>
+
The templated class identity_matrix<T, ALLOC>
represents identity matrices. For a (m x n)-dimensional
identity matrix and 0 <= i < m, 0 <= j <
n holds idi, j = 0, if
@@ -336,6 +336,11 @@ int main () {
The type of object stored in the matrix. |
int |
+
+ALLOC |
+An STL Allocator for size_type and difference_type. |
+std::allocator |
+
Model of
@@ -449,7 +454,7 @@ end of the reversed identity_matrix.
Zero Matrix
Description
-The templated class zero_matrix<T> represents
+
The templated class zero_matrix<T, ALLOC> represents
zero matrices. For a (m x n)-dimensional zero matrix and
0 <= i < m, 0 <= j < n holds
zi, j = 0.
@@ -479,6 +484,11 @@ int main () {
The type of object stored in the matrix. |
int |
+
+ALLOC |
+An STL Allocator for size_type and difference_type. |
+std::allocator |
+
Model of
@@ -590,7 +600,7 @@ end of the reversed zero_matrix.
Scalar Matrix
Description
-The templated class scalar_matrix<T>
+
The templated class scalar_matrix<T, ALLOC>
represents scalar matrices. For a (m x n)-dimensional
scalar matrix and 0 <= i < m, 0 <= j <
n holds zi, j = s.
@@ -620,6 +630,11 @@ int main () {
The type of object stored in the matrix. |
int |
+
+ALLOC |
+An STL Allocator for size_type and difference_type. |
+std::allocator |
+
Model of
diff --git a/doc/vector.htm b/doc/vector.htm
index a07f245c..125bebfd 100644
--- a/doc/vector.htm
+++ b/doc/vector.htm
@@ -350,7 +350,7 @@ for the Storage array are unbounded_array<T> ,
std::vector<T> .
Unit Vector
Description
-The templated class unit_vector<T> represents
+
The templated class unit_vector<T, ALLOC> represents
canonical unit vectors. For the k-th
n-dimensional canonical unit vector and 0 <= i <
n holds uki
@@ -385,6 +385,11 @@ int main () {
The type of object stored in the vector. |
int |
+
+ALLOC |
+An STL Allocator for size_type and difference_type. |
+std::allocator |
+
Model of
@@ -479,7 +484,7 @@ end of the reversed unit_vector.
Zero Vector
Description
-The templated class zero_vector<T> represents
+
The templated class zero_vector<T, ALLOC> represents
zero vectors. For a n-dimensional zero vector and 0
<= i < n holds zi =
0.
@@ -509,6 +514,11 @@ int main () {
The type of object stored in the vector. |
int |
+
+ALLOC |
+An STL Allocator for size_type and difference_type. |
+std::allocator |
+
Model of
@@ -599,7 +609,7 @@ end of the reversed zero_vector.
Scalar Vector
Description
-The templated class scalar_vector<T>
+
The templated class scalar_vector<T, ALLOC>
represents scalar vectors. For a n-dimensional scalar
vector and 0 <= i < n holds
zi = s.
@@ -629,6 +639,11 @@ int main () {
The type of object stored in the vector. |
int |
+
+ALLOC |
+An STL Allocator for size_type and difference_type. |
+std::allocator |
+
Model of