From 89b1d9191809ac040b2e50e979483ecbcb60d0fb Mon Sep 17 00:00:00 2001
From: Michael Stevens The The expression_type &operator () ()Returns a reference of the expression.
+
+
+
+matrix_row<E> operator[] (std::size_t i)Returns the specified proxy.
+
+
+
+matrix_row<E> row (std::size_t i)Returns the specified proxy.
+
+
+
+matrix_column<E> column (std::size_t i)Returns the specified proxy.
+
+
+
+matrix_range<E> range (std::size_t start1, std::size_t stop1, std::size_t start2, std::size_t stop2)Returns the specified proxy.
+
+
+
+matrix_slice<E> slice (std::size_t start1, std::ptrdiff_t stride1, std::size_t size1, std::size_t start2, std::ptrdiff_t stride2, std::size_t size2)Returns the specified proxy.
+
+
+
+matrix_range<E> project (const range &r1, const range &r2)Returns the specified proxy.
+
+
+
+matrix_slice<E> project (const slice &s1, const slice &s2)Returns the specified proxy.
+
+
+
+matrix_indirect<E, A> project (const indirect_array<A> &ia1, const indirect_array<A> &ia2)Returns the specified proxy.
+Notes
+operator[], row, column, range, slice and project function parameters are the fixed types std::size_t
+and std::ptrdiff_t. This is an implementation issue and the types may change to E::size_type
+and E:difference_type in a future implementation.operator[], row, column, range, slice and project functions propagate the expression's constantness. Therefore there proxy returned
+for a constant matrix_expression<E> is based on const E. Matrix
References
Reference
diff --git a/doc/vector_expression.htm b/doc/vector_expression.htm
index 410ffd63..01c39a4d 100644
--- a/doc/vector_expression.htm
+++ b/doc/vector_expression.htm
@@ -33,6 +33,11 @@ including class vector itself.
Aexpression_type &operator () ()vector_range<E> range (std::size_t start, std::size_t stop)vector_slice<E> slice (std::size_t start, std::ptrdiff_t stride, std::size_t size)vector_range<E> project (const range &r)vector_slice<E> project (const slice &s)vector_indirect<E, A> project (const indirect_array<A> &ia)The range, slice and project function parameters are the fixed types std::size_t
+and std::ptrdiff_t. This is an implementation issue and the types may change to E::size_type
+and E:difference_type in a future implementation.
The range, slice and project functions propagate the expression's constantness. Therefore there proxy returned
+for a constant vector_expression<E> is based on const E.