From e9fab4418dee1e84edfc258aecd3992c80fd7a43 Mon Sep 17 00:00:00 2001
From: Michael Stevens
Vv.insert_element (i, t)v is mutable.v.insert_element (i, t)0 <= i < v.size () andv (i) is equal to value_type (0).t is inserted in v.v (i) is a copy of t.0 <= i < v.size ().v (i) with value t.
+The storage requirement of the Vector may be increased.v (i) is equal to t.v.erase_element (i)0 <= i < v.size ()v (i) and replaces it with
-value_type ().v (i) is a copy of value_type
-().v (i) and replaces it with the default
+value_type ().
+The storage requirement of the Vector may be decreased.v (i) is equal to value_type ().for (i = 0; i < v.size (); ++ i)v.erase (i);v.erase_element (i);
p == false then existing elements are not preserved and elemen
The run-time complexity of the sizing constructor is linear in the vector's size.
The run-time complexity of insert_element and erase_element is specific for the -vector.
+Vector model and it depends on increases/decreases in storage requirements.The run-time complexity of resize is linear in the vector's size.
vector<T> , bounded_vector<T, N>unit_vector<T> , zero_vector<T> , scalar_vector<T>mapped_vector<T> , compressed_vector , coordinate_vectorvector<T>, bounded_vector<T, N>, c_vector<T, N>unit_vector<T>, zero_vector<T>, scalar_vector<T>mapped_vector<T>, compressed_vector, coordinate_vector[1] @@ -327,20 +326,20 @@ n2.
m.insert_element (i, j, t)0 <= i < m.size1 (),0 <= j < m.size2 ()and
-m (i, j) is equal to value_type (0).t is inserted in m.m (i, j) is a copy of t.0 <= j < m.size2 ().
+m (i, j) with value t.
+The storage requirement of the Matrix may be increased.m (i, j) is equal to t.m.erase (i, j)m.erase_element (i, j)0 <= i < m.size1 ()and
0 <= j < m.size2m (i, j) and replaces it with
-value_type ().m (i, j) is a copy of value_type
-().m (i, j) and replaces it with the default
+value_type ().
+The storage requirement of the Matrix may be decreased.m (i, j) is equal to value_type ().value_type (0).
for (i = 0; i < m.size1 (); ++ i)for (j = 0; j < m.size2 (); ++ j)m.erase (i, j);m.erase_element (i, j);
p == false then existing elements are not preserved and elemen
The run-time complexity of the sizing constructor is quadratic in the matrix's size.
The run-time complexity of insert_element and erase_element is specific for the -matrix.
+Matrix model and it depends on increases/decreases in storage requirements.The run-time complexity of resize is quadratic in the matrix's size.
matrix<T> , bounded_matrix<T, M, N>matrix<T>, bounded_matrix<T, M, N>, c_matrix<T, M, N>identity_matrix<T> , zero_matrix<T> , scalar_matrix<T>triangular_matrix<T> , symmetric_matrix<T> , banded_matrix<T>mapped_matrix<T> , compressed_matrix , coordinate_matrix