SLIP
1.4
|
Numerical matrix3d class. This container statisfies the RandomAccessContainer concepts of the STL except the simple bracket which is replaced by a double bracket. It extends the interface of Array3d adding arithmetical: +=, -=, *=, /=,+,-,/,*... and mathematical operators : min, max, abs, sqrt, cos, acos, sin, asin, tan, atan, exp, log, cosh, sinh, tanh, log10, sum, apply... More...
#include <GenericMultiComponent3d.hpp>
Public Member Functions | |
void | resize (std::size_t d1, std::size_t d2, std::size_t d3, const T &val=T()) |
Resizes a Matrix3d. More... | |
std::string | name () const |
Returns the name of the class. More... | |
size_type | dim1 () const |
Returns the number of slices (first dimension size) in the Matrix3d. More... | |
size_type | slices () const |
Returns the number of slices (first dimension size) in the Matrix3d. More... | |
size_type | dim2 () const |
Returns the number of rows (second dimension size) in the Matrix3d. More... | |
size_type | rows () const |
Returns the number of rows (second dimension size) in the Matrix3d. More... | |
size_type | dim3 () const |
Returns the number of columns (third dimension size) in the Matrix3d. More... | |
size_type | cols () const |
Returns the number of columns (third dimension size) in the Matrix3d. More... | |
size_type | columns () const |
Returns the number of columns (third dimension size) in the Matrix3d. More... | |
size_type | size () const |
Returns the number of elements in the Matrix3d. More... | |
size_type | max_size () const |
Returns the maximal size (number of elements) in the Matrix3d. More... | |
size_type | slice_size () const |
Returns the number of elements in a slice of the Matrix3d. More... | |
bool | empty () const |
Returns true if the Matrix3d is empty. (Thus size() == 0) More... | |
void | swap (Matrix3d &M) |
Swaps data with another Matrix3d. More... | |
template<typename T > | |
Matrix3d (const typename Matrix3d< T >::size_type d1, const typename Matrix3d< T >::size_type d2, const typename Matrix3d< T >::size_type d3) | |
template<typename T > | |
Matrix3d (const typename Matrix3d< T >::size_type d1, const typename Matrix3d< T >::size_type d2, const typename Matrix3d< T >::size_type d3, const T &val) | |
template<typename T > | |
Matrix3d (const typename Matrix3d< T >::size_type d1, const typename Matrix3d< T >::size_type d2, const typename Matrix3d< T >::size_type d3, const T *val) | |
Constructors & Destructors | |
Matrix3d () | |
Constructs a Matrix3d. More... | |
Matrix3d (const std::size_t d1, const std::size_t d2, const std::size_t d3) | |
Constructs a Matrix3d. More... | |
Matrix3d (const std::size_t d1, const std::size_t d2, const std::size_t d3, const T &val) | |
Constructs a Matrix3d initialized by the scalar value val. More... | |
Matrix3d (const std::size_t d1, const std::size_t d2, const std::size_t d3, const T *val) | |
Constructs a Matrix3d initialized by an array val. More... | |
template<typename InputIterator > | |
Matrix3d (const size_type d1, const size_type d2, const size_type d3, InputIterator first, InputIterator last) | |
Contructs a Matrix3d from a range. More... | |
Matrix3d (const Matrix3d< T > &rhs) | |
Constructs a copy of the Matrix3d rhs. More... | |
~Matrix3d () | |
Destructor of the Matrix3d. More... | |
One dimensionnal global iterators | |
const_iterator | begin () const |
Returns a read-only (constant) iterator that points to the first element in the Matrix3d. Iteration is done in ordinary element order. More... | |
iterator | begin () |
Returns a read/write iterator that points to the first element in the Matrix3d. Iteration is done in ordinary element order. More... | |
iterator | end () |
Returns a read/write iterator that points one past the last element in the Matrix3d. Iteration is done in ordinary element order. More... | |
const_iterator | end () const |
Returns a read-only (constant) iterator that points one past the last element in the Matrix3d. Iteration is done in ordinary element order. More... | |
reverse_iterator | rbegin () |
Returns a read/write reverse iterator that points to the last element in the Matrix3d. Iteration is done in reverse element order. More... | |
const_reverse_iterator | rbegin () const |
Returns a read-only (constant) reverse iterator that points to the last element in the Matrix3d. Iteration is done in reverse element order. More... | |
reverse_iterator | rend () |
Returns a read/write reverse iterator that points to one before the first element in the Matrix3d. Iteration is done in reverse element order. More... | |
const_reverse_iterator | rend () const |
Returns a read-only (constant) reverse iterator that points to one before the first element in the Matrix3d. Iteration is done in reverse element order. More... | |
One dimensionnal slice iterators | |
slice_iterator | slice_begin (const size_type row, const size_type col) |
Returns a read/write iterator that points to the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number). More... | |
const_slice_iterator | slice_begin (const size_type row, const size_type col) const |
Returns a read-only (constant) iterator that points to the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number). More... | |
slice_iterator | slice_end (const size_type row, const size_type col) |
Returns a read/write iterator that points to the one past the end element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number). More... | |
const_slice_iterator | slice_end (const size_type row, const size_type col) const |
Returns a read-only (constant) iterator that points to the one past the end element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number). More... | |
reverse_slice_iterator | slice_rbegin (const size_type row, const size_type col) |
Returns a read/write iterator that points to the last element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number). More... | |
const_reverse_slice_iterator | slice_rbegin (const size_type row, const size_type col) const |
Returns a read-only (constant) iterator that points to the last element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number). More... | |
reverse_slice_iterator | slice_rend (const size_type row, const size_type col) |
Returns a read/write iterator that points to the one before the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number). More... | |
const_reverse_slice_iterator | slice_rend (const size_type row, const size_type col) const |
Returns a read (constant) iterator that points to the one before the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number). More... | |
One dimensionnal row iterators | |
row_iterator | row_begin (const size_type slice, const size_type row) |
Returns a read/write iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order. More... | |
const_row_iterator | row_begin (const size_type slice, const size_type row) const |
Returns a read_only iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order. More... | |
row_iterator | row_end (const size_type slice, const size_type row) |
Returns a read/write iterator that points to the past-the-end element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order. More... | |
const_row_iterator | row_end (const size_type slice, const size_type row) const |
Returns a read_only iterator that points to the past-the-end element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order. More... | |
reverse_row_iterator | row_rbegin (const size_type slice, const size_type row) |
Returns a read/write reverse iterator that points to the last element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order. More... | |
const_reverse_row_iterator | row_rbegin (const size_type slice, const size_type row) const |
Returns a read_only reverse iterator that points to the last element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order. More... | |
reverse_row_iterator | row_rend (const size_type slice, const size_type row) |
Returns a read/write reverse iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order. More... | |
const_reverse_row_iterator | row_rend (const size_type slice, const size_type row) const |
Returns a read_only reverse iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order. More... | |
One dimensionnal col iterators | |
col_iterator | col_begin (const size_type slice, const size_type col) |
Returns a read/write iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
const_col_iterator | col_begin (const size_type slice, const size_type col) const |
Returns a read_only iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
col_iterator | col_end (const size_type slice, const size_type col) |
Returns a read/write iterator that points to the past-the-end element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
const_col_iterator | col_end (const size_type slice, const size_type col) const |
Returns a read_only iterator that points to the past-the-end element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
reverse_col_iterator | col_rbegin (const size_type slice, const size_type col) |
Returns a read/write reverse iterator that points to the last element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
const_reverse_col_iterator | col_rbegin (const size_type slice, const size_type col) const |
Returns a read_only reverse iterator that points to the last element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
reverse_col_iterator | col_rend (const size_type slice, const size_type col) |
Returns a read/write reverse iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
const_reverse_col_iterator | col_rend (const size_type slice, const size_type col) const |
Returns a read_only reverse iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns. More... | |
One dimensionnal slice range iterators | |
slice_range_iterator | slice_begin (const size_type row, const size_type col, const slip::Range< int > &range) |
Returns a read/write iterator that points to the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
slice_range_iterator | slice_end (const size_type row, const size_type col, const slip::Range< int > &range) |
Returns a read/write iterator that points one past the end element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
const_slice_range_iterator | slice_begin (const size_type row, const size_type col, const slip::Range< int > &range) const |
Returns a read only (constant) iterator that points to the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
const_slice_range_iterator | slice_end (const size_type row, const size_type col, const slip::Range< int > &range) const |
Returns a read_only iterator that points one past the last element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
reverse_slice_range_iterator | slice_rbegin (const size_type row, const size_type col, const slip::Range< int > &range) |
Returns a read/write iterator that points to the last element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
reverse_slice_range_iterator | slice_rend (const size_type row, const size_type col, const slip::Range< int > &range) |
Returns a read/write iterator that points to the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order according to the Range. More... | |
const_reverse_slice_range_iterator | slice_rbegin (const size_type row, const size_type col, const slip::Range< int > &range) const |
Returns a read only (constant) iterator that points to the last element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order according to the Range. More... | |
const_reverse_slice_range_iterator | slice_rend (const size_type row, const size_type col, const slip::Range< int > &range) const |
Returns a read_only iterator that points one past the lastto the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order according to the Range. More... | |
One dimensionnal row range iterators | |
row_range_iterator | row_begin (const size_type slice, const size_type row, const slip::Range< int > &range) |
Returns a read/write iterator that points to the first element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
row_range_iterator | row_end (const size_type slice, const size_type row, const slip::Range< int > &range) |
Returns a read/write iterator that points one past the end element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
const_row_range_iterator | row_begin (const size_type slice, const size_type row, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the first element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
const_row_range_iterator | row_end (const size_type slice, const size_type row, const slip::Range< int > &range) const |
Returns a read_only iterator that points one past the last element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
reverse_row_range_iterator | row_rbegin (const size_type slice, const size_type row, const slip::Range< int > &range) |
Returns a read-write iterator that points to the last element of the Range range of the row of a slice row and slice in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
reverse_row_range_iterator | row_rend (const size_type slice, const size_type row, const slip::Range< int > &range) |
Returns a read-write iterator that points one before the first element of the Range range of the row of a slice row in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_row_range_iterator | row_rbegin (const size_type slice, const size_type row, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the last element of the Range range of the row of a slice row in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_row_range_iterator | row_rend (const size_type slice, const size_type row, const slip::Range< int > &range) const |
Returns a read-only iterator that points one before the first element of the Range range of the row of a slice row in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
One dimensionnal col range iterators | |
col_range_iterator | col_begin (const size_type slice, const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to the first element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
col_range_iterator | col_end (const size_type slice, const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to the past the end element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
const_col_range_iterator | col_begin (const size_type slice, const size_type col, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the first element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
const_col_range_iterator | col_end (const size_type slice, const size_type col, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the past the end element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range. More... | |
reverse_col_range_iterator | col_rbegin (const size_type slice, const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to the last element of the Range range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
reverse_col_range_iterator | col_rend (const size_type slice, const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to one before the first element of the Range range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_col_range_iterator | col_rbegin (const size_type slice, const size_type col, const slip::Range< int > &range) const |
Returns a read_only iterator that points to the last element of the Range & range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_col_range_iterator | col_rend (const size_type slice, const size_type col, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the first element of the Range range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range. More... | |
One dimensionnal global plane iterators | |
iterator | plane_begin (const size_type slice) |
Returns a read/write iterator that points to the first element in the in the slice plane of the Matrix3d. Iteration is done in ordinary element order. More... | |
const_iterator | plane_begin (const size_type slice) const |
Returns a read-only (constant) iterator that points to the first element in the slice plane of the Matrix3d. Iteration is done in ordinary element order. More... | |
iterator | plane_end (const size_type slice) |
Returns a read/write iterator that points one past the last element in the slice plane of the Matrix3d. Iteration is done in ordinary element order. More... | |
const_iterator | plane_end (const size_type slice) const |
Returns a read-only (constant) iterator that points one past the last element in the slice plane of the Matrix3d. Iteration is done in ordinary element order. More... | |
reverse_iterator | plane_rbegin (const size_type slice) |
Returns a read/write reverse iterator that points to the last element in the slice plane of the Matrix3d. Iteration is done in reverse element order. More... | |
const_reverse_iterator | plane_rbegin (const size_type slice) const |
Returns a read-only (constant) reverse iterator that points to the last element in the slice plane k of the Matrix3d. Iteration is done in reverse element order. More... | |
reverse_iterator | plane_rend (const size_type slice) |
Returns a read/write reverse iterator that points to one before the first element in the slice plane of the Matrix3d. Iteration is done in reverse element order. More... | |
const_reverse_iterator | plane_rend (const size_type slice) const |
Returns a read-only (constant) reverse iterator that points to one before the first element in the slice plane of the Matrix3d. Iteration is done in reverse element order. More... | |
two dimensionnal plane iterators : Global iterators | |
iterator2d | plane_upper_left (PLANE_ORIENTATION P, const size_type plane_coordinate) |
Returns a read/write iterator that points to the first element of the plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in ordinary element order. More... | |
iterator2d | plane_bottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate) |
Returns a read/write iterator that points to the last element of the plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order. More... | |
const_iterator2d | plane_upper_left (PLANE_ORIENTATION P, const size_type plane_coordinate) const |
Returns a read/write const iterator that points to the first element of the plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in ordinary element order. More... | |
const_iterator2d | plane_bottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate) const |
Returns a read/write const iterator that points to the last element of the plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order. More... | |
reverse_iterator2d | plane_rupper_left (PLANE_ORIENTATION P, const size_type plane_coordinate) |
Returns a read/write reverse_iterator that points to the bottom right element of the plane in the Matrix3d. Iteration is done in backward element order. More... | |
reverse_iterator2d | plane_rbottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate) |
Returns a read/write reverse_iterator that points to the upper left element of the plane in the Matrix3d. Iteration is done in backward element order. More... | |
const_reverse_iterator2d | plane_rupper_left (PLANE_ORIENTATION P, const size_type plane_coordinate) const |
Returns a read/write const reverse iterator that points to the bottom right element of the plane in the Matrix3d. Iteration is done in backward element order. More... | |
const_reverse_iterator2d | plane_rbottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate) const |
Returns a read/write const reverse iterator that points to the upper left element of the plane in the Matrix3d. Iteration is done in backward element order. More... | |
two dimensionnal plane iterators : box iterators | |
iterator2d | plane_upper_left (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) |
Returns a read/write iterator that points to the first element of a box within a plane in the Matrix3d. It points to the upper left element of the box Iteration is done in ordinary element order. More... | |
iterator2d | plane_bottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) |
Returns a read/write iterator that points to the last element of a box within a plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order. More... | |
const_iterator2d | plane_upper_left (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) const |
Returns a read/write const iterator that points to the first element of a box within a plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in ordinary element order. More... | |
const_iterator2d | plane_bottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) const |
Returns a read/write const iterator that points to the last element of a box within a plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order. More... | |
reverse_iterator2d | plane_rupper_left (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) |
Returns a read/write reverse iterator that points to the last element of a box within a plane in the Matrix3d. It points to the bottom right element of the box Iteration is done in backward element order. More... | |
reverse_iterator2d | plane_rbottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) |
Returns a read/write reverse iterator that points to the first element of a box within a plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in backward element order. More... | |
const_reverse_iterator2d | plane_rupper_left (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) const |
Returns a read/write const reverse iterator that points to the last element of a box within a plane in the Matrix3d. It points to the bottom right element of the plane Iteration is done in backward element order. More... | |
const_reverse_iterator2d | plane_rbottom_right (PLANE_ORIENTATION P, const size_type plane_coordinate, const Box2d< int > &b) const |
Returns a read/write const reverse iterator that points to the first element of a box within a plane in the Matrix3d. It points to the bottom right element of the plane Iteration is done in backward element order. More... | |
three dimensionnal iterators : Global iterators | |
iterator3d | front_upper_left () |
Returns a read/write iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Matrix3d. More... | |
iterator3d | back_bottom_right () |
Returns a read/write iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Matrix3d. More... | |
const_iterator3d | front_upper_left () const |
Returns a read-only iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Matrix3d. More... | |
const_iterator3d | back_bottom_right () const |
Returns a read-only iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Matrix3d. More... | |
reverse_iterator3d | rfront_upper_left () |
Returns a read/write reverse iterator3d. It points to the back bottom right element of the Matrix3d. Iteration is done within the Matrix3d in the reverse order. More... | |
reverse_iterator3d | rback_bottom_right () |
Returns a read/write reverse iterator3d. It points to past the front upper left element of the Matrix3d. Iteration is done in the reverse order. More... | |
const_reverse_iterator3d | rfront_upper_left () const |
Returns a read only reverse iterator3d that points. It points to the back bottom right element of the Matrix3d. Iteration is done within the Matrix3d in the reverse order. More... | |
const_reverse_iterator3d | rback_bottom_right () const |
Returns a read only reverse iterator3d. It points to past the front upper left element of the Matrix3d. Iteration is done in the reverse order. More... | |
three dimensionnal iterators : Box iterators | |
iterator3d | front_upper_left (const Box3d< int > &box) |
Returns a read/write iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Box3d associated to the Matrix3d. More... | |
iterator3d | back_bottom_right (const Box3d< int > &box) |
Returns a read/write iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Box3d associated to the Matrix3d. More... | |
const_iterator3d | front_upper_left (const Box3d< int > &box) const |
Returns a read only iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Box3d associated to the Matrix3d. More... | |
const_iterator3d | back_bottom_right (const Box3d< int > &box) const |
Returns a read only iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Box3d associated to the Matrix3d. More... | |
reverse_iterator3d | rfront_upper_left (const Box3d< int > &box) |
Returns a read/write reverse iterator3d. It points to the back bottom right element of the Box3d associated to the Matrix3d. Iteration is done in the reverse order. More... | |
reverse_iterator3d | rback_bottom_right (const Box3d< int > &box) |
Returns a read/write reverse iterator3d. It points to one before the front upper left element of the Box3d box associated to the Matrix3d. More... | |
const_reverse_iterator3d | rfront_upper_left (const Box3d< int > &box) const |
Returns a read only reverse iterator3d. It points to the back bottom right element of the Box3d box associated to the Matrix3d. Iteration is done in the reverse order. More... | |
const_reverse_iterator3d | rback_bottom_right (const Box3d< int > &box) const |
Returns a read-only reverse iterator3d. It points to one before the front element of the bottom right element of the Box3d box associated to the Matrix3d. More... | |
three dimensionnal iterators : Range iterators | |
iterator3d_range | front_upper_left (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write iterator3d_range that points to the front upper left element of the ranges slice_range, row_range and col_range associated to the Matrix3d. More... | |
iterator3d_range | back_bottom_right (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write iterator3d_range that points to the past the end back bottom right element of the ranges slice_range, row_range and col_range associated to the Matrix3d. More... | |
const_iterator3d_range | front_upper_left (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only iterator3d_range that points to the to the front upper left element of the ranges slice_range, row_range and col_range associated to the Matrix3d. More... | |
const_iterator3d_range | back_bottom_right (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only iterator3d_range that points to the past the end back bottom right element of the ranges slice_range, row_range and col_range associated to the Matrix3d. More... | |
reverse_iterator3d_range | rfront_upper_left (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write reverse_iterator3d_range that points to the past the back bottom right element of the ranges row_range and col_range associated to the Matrix3d. Iteration is done in the reverse order. More... | |
reverse_iterator3d_range | rback_bottom_right (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write reverse_iterator3d_range that points to one before the front upper left element of the ranges row_range and col_range associated to the Matrix3d. Iteration is done in the reverse order. More... | |
const_reverse_iterator3d_range | rfront_upper_left (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only reverse_iterator3d_range that points to the past the back bottom right element of the ranges row_range and col_range associated to the Matrix3d. Iteration is done in the reverse order. More... | |
const_reverse_iterator3d_range | rback_bottom_right (const Range< int > &slice_range, const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only reverse_iterator3d_range that points to one before the front upper left element of the ranges row_range and col_range associated to the Matrix3d.Iteration is done in the reverse order. More... | |
Assignment operators and methods | |
self & | operator= (const Matrix3d< T > &rhs) |
Assign a Matrix3d. More... | |
self & | operator= (const T &value) |
Assign all the elments of the Matrix3d by value. More... | |
void | fill (const T &value) |
Fills the container range [begin(),begin()+size()) with copies of value. More... | |
void | fill (const T *value) |
Fills the container range [begin(),begin()+size()) with a copy of the value array. More... | |
template<typename InputIterator > | |
void | fill (InputIterator first, InputIterator last) |
Fills the container range [begin(),begin()+size()) with a copy of the range [first,last) More... | |
Element access operators | |
T ** | operator[] (const size_type k) |
Subscript access to the slice datas contained in the GenericMultiComponent3d. More... | |
const T *const * | operator[] (const size_type k) const |
Subscript access to the slice datas contained in the GenericMultiComponent3d. More... | |
reference | operator() (const size_type k, const size_type i, const size_type j) |
Subscript access to the data contained in the Matrix3d. More... | |
const_reference | operator() (const size_type k, const size_type i, const size_type j) const |
Subscript access to the data contained in the Matrix3d. More... | |
Arithmetic operators | |
self & | operator+= (const T &val) |
Add val to each element of the Matrix. More... | |
self & | operator-= (const T &val) |
self & | operator*= (const T &val) |
self & | operator/= (const T &val) |
self | operator- () const |
self & | operator+= (const self &rhs) |
self & | operator-= (const self &rhs) |
self & | operator*= (const self &rhs) |
self & | operator/= (const self &rhs) |
Mathematic operators | |
T & | min () const |
Returns the min element of the Matrix according to the operator <. More... | |
T & | max () const |
Returns the max element of the Matrix according to the operator <. More... | |
T | sum () const |
Returns the sum of the elements of the Matrix. More... | |
Matrix3d< T > & | apply (T(*fun)(T)) |
Applys the one-parameter C-function fun to each element of the Matrix3d. More... | |
Matrix3d< T > & | apply (T(*fun)(const T &)) |
Applys the one-parameter C-function fun to each element of the Matrix3d. More... | |
Static Public Attributes | |
static const std::size_t | DIM = 3 |
Friends | |
class | boost::serialization::access |
i/o operators | |
std::ostream & | operator<< (std::ostream &out, const self &a) |
Write the Matrix3d to the ouput stream. More... | |
Comparison operators | |
bool | operator== (const Matrix3d< T > &x, const Matrix3d< T > &y) |
Matrix3d equality comparison More... | |
bool | operator!= (const Matrix3d< T > &x, const Matrix3d< T > &y) |
Matrix3d inequality comparison More... | |
bool | operator< (const Matrix3d< T > &x, const Matrix3d< T > &y) |
Less than comparison operator (Matrix3d ordering relation) More... | |
bool | operator> (const Matrix3d< T > &x, const Matrix3d< T > &y) |
More than comparison operator. More... | |
bool | operator<= (const Matrix3d< T > &x, const Matrix3d< T > &y) |
Less than equal comparison operator. More... | |
bool | operator>= (const Matrix3d< T > &x, const Matrix3d< T > &y) |
More than equal comparison operator. More... | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename T > | |
T & | min (const Matrix3d< T > &M1) |
Returns the min element of a Matrix3d. More... | |
template<typename T > | |
T & | max (const Matrix3d< T > &M1) |
Returns the max element of a Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | abs (const Matrix3d< T > &V) |
Returns the abs value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | sqrt (const Matrix3d< T > &V) |
Returns the sqrt value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | cos (const Matrix3d< T > &V) |
Returns the cos value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | acos (const Matrix3d< T > &V) |
Returns the acos value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | sin (const Matrix3d< T > &V) |
Returns the sin value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | asin (const Matrix3d< T > &V) |
Returns the sin value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | tan (const Matrix3d< T > &V) |
Returns the tan value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | atan (const Matrix3d< T > &V) |
Returns the atan value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | exp (const Matrix3d< T > &V) |
Returns the exp value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | log (const Matrix3d< T > &V) |
Returns the log value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | cosh (const Matrix3d< T > &V) |
Returns the cosh value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | sinh (const Matrix3d< T > &V) |
Returns the sinh value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | tanh (const Matrix3d< T > &V) |
Returns the tanh value of each element of the Matrix3d. More... | |
template<typename T > | |
Matrix3d< T > | log10 (const Matrix3d< T > &V) |
Returns the log10 value of each element of the Matrix3d. More... | |
Numerical matrix3d class. This container statisfies the RandomAccessContainer concepts of the STL except the simple bracket which is replaced by a double bracket. It extends the interface of Array3d adding arithmetical: +=, -=, *=, /=,+,-,/,*... and mathematical operators : min, max, abs, sqrt, cos, acos, sin, asin, tan, atan, exp, log, cosh, sinh, tanh, log10, sum, apply...
T | Type of object in the Matrix3d |
Definition at line 124 of file GenericMultiComponent3d.hpp.
typedef slip::stride_iterator<pointer> slip::Matrix3d< Block >::col_iterator |
Definition at line 182 of file Matrix3d.hpp.
typedef slip::stride_iterator<col_iterator> slip::Matrix3d< Block >::col_range_iterator |
Definition at line 188 of file Matrix3d.hpp.
typedef slip::stride_iterator<const_pointer> slip::Matrix3d< Block >::const_col_iterator |
Definition at line 183 of file Matrix3d.hpp.
typedef slip::stride_iterator<const_col_iterator> slip::Matrix3d< Block >::const_col_range_iterator |
Definition at line 189 of file Matrix3d.hpp.
typedef const_iterator3d slip::Matrix3d< Block >::const_default_iterator |
Definition at line 231 of file Matrix3d.hpp.
typedef const_pointer slip::Matrix3d< Block >::const_iterator |
Definition at line 172 of file Matrix3d.hpp.
typedef slip::Array3d<T>::const_iterator2d slip::Matrix3d< Block >::const_iterator2d |
Definition at line 214 of file Matrix3d.hpp.
typedef slip::Array3d<T>::const_iterator3d slip::Matrix3d< Block >::const_iterator3d |
Definition at line 220 of file Matrix3d.hpp.
typedef slip::Array3d<T>::const_iterator3d_range slip::Matrix3d< Block >::const_iterator3d_range |
Definition at line 222 of file Matrix3d.hpp.
typedef value_type const* slip::Matrix3d< Block >::const_pointer |
Definition at line 164 of file Matrix3d.hpp.
typedef value_type const& slip::Matrix3d< Block >::const_reference |
Definition at line 166 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_col_iterator> slip::Matrix3d< Block >::const_reverse_col_iterator |
Definition at line 196 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_col_range_iterator> slip::Matrix3d< Block >::const_reverse_col_range_iterator |
Definition at line 202 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_iterator> slip::Matrix3d< Block >::const_reverse_iterator |
Definition at line 175 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_iterator2d> slip::Matrix3d< Block >::const_reverse_iterator2d |
Definition at line 216 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_iterator3d> slip::Matrix3d< Block >::const_reverse_iterator3d |
Definition at line 225 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_iterator3d_range> slip::Matrix3d< Block >::const_reverse_iterator3d_range |
Definition at line 227 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_iterator> slip::Matrix3d< Block >::const_reverse_row_iterator |
Definition at line 194 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_row_range_iterator> slip::Matrix3d< Block >::const_reverse_row_range_iterator |
Definition at line 200 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_slice_iterator> slip::Matrix3d< Block >::const_reverse_slice_iterator |
Definition at line 192 of file Matrix3d.hpp.
typedef std::reverse_iterator<const_slice_range_iterator> slip::Matrix3d< Block >::const_reverse_slice_range_iterator |
Definition at line 198 of file Matrix3d.hpp.
typedef const_pointer slip::Matrix3d< Block >::const_row_iterator |
Definition at line 181 of file Matrix3d.hpp.
typedef slip::stride_iterator<const_pointer> slip::Matrix3d< Block >::const_row_range_iterator |
Definition at line 187 of file Matrix3d.hpp.
typedef const Matrix3d<T> slip::Matrix3d< Block >::const_self |
Definition at line 161 of file Matrix3d.hpp.
typedef slip::stride_iterator<const_pointer> slip::Matrix3d< Block >::const_slice_iterator |
Definition at line 179 of file Matrix3d.hpp.
typedef slip::stride_iterator<const_slice_iterator> slip::Matrix3d< Block >::const_slice_range_iterator |
Definition at line 185 of file Matrix3d.hpp.
typedef iterator3d slip::Matrix3d< Block >::default_iterator |
Definition at line 230 of file Matrix3d.hpp.
typedef ptrdiff_t slip::Matrix3d< Block >::difference_type |
Definition at line 168 of file Matrix3d.hpp.
typedef pointer slip::Matrix3d< Block >::iterator |
Definition at line 171 of file Matrix3d.hpp.
typedef slip::Array3d<T>::iterator2d slip::Matrix3d< Block >::iterator2d |
Definition at line 213 of file Matrix3d.hpp.
typedef slip::Array3d<T>::iterator3d slip::Matrix3d< Block >::iterator3d |
Definition at line 219 of file Matrix3d.hpp.
typedef slip::Array3d<T>::iterator3d_range slip::Matrix3d< Block >::iterator3d_range |
Definition at line 221 of file Matrix3d.hpp.
typedef value_type* slip::Matrix3d< Block >::pointer |
Definition at line 163 of file Matrix3d.hpp.
typedef value_type& slip::Matrix3d< Block >::reference |
Definition at line 165 of file Matrix3d.hpp.
typedef std::reverse_iterator<col_iterator> slip::Matrix3d< Block >::reverse_col_iterator |
Definition at line 195 of file Matrix3d.hpp.
typedef std::reverse_iterator<col_range_iterator> slip::Matrix3d< Block >::reverse_col_range_iterator |
Definition at line 201 of file Matrix3d.hpp.
typedef std::reverse_iterator<iterator> slip::Matrix3d< Block >::reverse_iterator |
Definition at line 174 of file Matrix3d.hpp.
typedef std::reverse_iterator<iterator2d> slip::Matrix3d< Block >::reverse_iterator2d |
Definition at line 215 of file Matrix3d.hpp.
typedef std::reverse_iterator<iterator3d> slip::Matrix3d< Block >::reverse_iterator3d |
Definition at line 224 of file Matrix3d.hpp.
typedef std::reverse_iterator<iterator3d_range> slip::Matrix3d< Block >::reverse_iterator3d_range |
Definition at line 226 of file Matrix3d.hpp.
typedef std::reverse_iterator<iterator> slip::Matrix3d< Block >::reverse_row_iterator |
Definition at line 193 of file Matrix3d.hpp.
typedef std::reverse_iterator<row_range_iterator> slip::Matrix3d< Block >::reverse_row_range_iterator |
Definition at line 199 of file Matrix3d.hpp.
typedef std::reverse_iterator<slice_iterator> slip::Matrix3d< Block >::reverse_slice_iterator |
Definition at line 191 of file Matrix3d.hpp.
typedef std::reverse_iterator<slice_range_iterator> slip::Matrix3d< Block >::reverse_slice_range_iterator |
Definition at line 197 of file Matrix3d.hpp.
typedef pointer slip::Matrix3d< Block >::row_iterator |
Definition at line 180 of file Matrix3d.hpp.
typedef slip::stride_iterator<pointer> slip::Matrix3d< Block >::row_range_iterator |
Definition at line 186 of file Matrix3d.hpp.
typedef Matrix3d<T> slip::Matrix3d< Block >::self |
Definition at line 160 of file Matrix3d.hpp.
typedef std::size_t slip::Matrix3d< Block >::size_type |
Definition at line 169 of file Matrix3d.hpp.
typedef slip::stride_iterator<pointer> slip::Matrix3d< Block >::slice_iterator |
Definition at line 178 of file Matrix3d.hpp.
typedef slip::stride_iterator<slice_iterator> slip::Matrix3d< Block >::slice_range_iterator |
Definition at line 184 of file Matrix3d.hpp.
typedef T slip::Matrix3d< Block >::value_type |
Definition at line 159 of file Matrix3d.hpp.
|
inline |
Constructs a Matrix3d.
Definition at line 3844 of file Matrix3d.hpp.
slip::Matrix3d< Block >::Matrix3d | ( | const std::size_t | d1, |
const std::size_t | d2, | ||
const std::size_t | d3 | ||
) |
Constructs a Matrix3d.
d1 | first dimension of the Matrix3d |
d2 | second dimension of the Matrix3d |
d3 | third dimension of the Matrix3d |
slip::Matrix3d< Block >::Matrix3d | ( | const std::size_t | d1, |
const std::size_t | d2, | ||
const std::size_t | d3, | ||
const T & | val | ||
) |
Constructs a Matrix3d initialized by the scalar value val.
d1 | first dimension of the Matrix3d |
d2 | second dimension of the Matrix3d |
d3 | third dimension of the Matrix3d |
val | initialization value of the elements |
slip::Matrix3d< Block >::Matrix3d | ( | const std::size_t | d1, |
const std::size_t | d2, | ||
const std::size_t | d3, | ||
const T * | val | ||
) |
Constructs a Matrix3d initialized by an array val.
d1 | first dimension of the Matrix3d |
d2 | second dimension of the Matrix3d |
d3 | third dimension of the Matrix3d |
val | initialization array value of the elements |
|
inline |
Contructs a Matrix3d from a range.
d1 | first dimension of the Matrix3d |
d2 | second dimension of the Matrix3d |
d3 | third dimension of the Matrix3d |
first | An input iterator. |
last | An input iterator. |
Create a Matrix3d consisting of copies of the elements from [first,last).
Definition at line 296 of file Matrix3d.hpp.
|
inline |
Constructs a copy of the Matrix3d rhs.
Definition at line 3877 of file Matrix3d.hpp.
|
inline |
Destructor of the Matrix3d.
Definition at line 3883 of file Matrix3d.hpp.
|
inline |
Definition at line 3850 of file Matrix3d.hpp.
|
inline |
Definition at line 3858 of file Matrix3d.hpp.
|
inline |
Definition at line 3867 of file Matrix3d.hpp.
|
inline |
Applys the one-parameter C-function fun to each element of the Matrix3d.
fun | The one-parameter C function |
Definition at line 5558 of file Matrix3d.hpp.
|
inline |
Applys the one-parameter C-function fun to each element of the Matrix3d.
fun | The one-const-parameter C function |
Definition at line 5566 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Matrix3d.
Definition at line 5045 of file Matrix3d.hpp.
|
inline |
Returns a read-only iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Matrix3d.
Definition at line 5052 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Box3d associated to the Matrix3d.
box | a Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5113 of file Matrix3d.hpp.
|
inline |
Returns a read only iterator3d that points to the past the end element of the Matrix3d. It points to past the end element of the back bottom right element of the Box3d associated to the Matrix3d.
box | a Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5121 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator3d_range that points to the past the end back bottom right element of the ranges slice_range, row_range and col_range associated to the Matrix3d.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5176 of file Matrix3d.hpp.
|
inline |
Returns a read-only iterator3d_range that points to the past the end back bottom right element of the ranges slice_range, row_range and col_range associated to the Matrix3d.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5199 of file Matrix3d.hpp.
|
inline |
Returns a read-only (constant) iterator that points to the first element in the Matrix3d. Iteration is done in ordinary element order.
Definition at line 3953 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator that points to the first element in the Matrix3d. Iteration is done in ordinary element order.
Definition at line 3939 of file Matrix3d.hpp.
col_iterator slip::Matrix3d< Block >::col_begin | ( | const size_type | slice, |
const size_type | col | ||
) |
Returns a read/write iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
const_col_iterator slip::Matrix3d< Block >::col_begin | ( | const size_type | slice, |
const size_type | col | ||
) | const |
Returns a read_only iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
col_range_iterator slip::Matrix3d< Block >::col_begin | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the first element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate |
const_col_range_iterator slip::Matrix3d< Block >::col_begin | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the first element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate. |
col_iterator slip::Matrix3d< Block >::col_end | ( | const size_type | slice, |
const size_type | col | ||
) |
Returns a read/write iterator that points to the past-the-end element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
const_col_iterator slip::Matrix3d< Block >::col_end | ( | const size_type | slice, |
const size_type | col | ||
) | const |
Returns a read_only iterator that points to the past-the-end element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
col_range_iterator slip::Matrix3d< Block >::col_end | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the past the end element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate. |
const_col_range_iterator slip::Matrix3d< Block >::col_end | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the past the end element of the Range range of the col col in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate |
reverse_col_iterator slip::Matrix3d< Block >::col_rbegin | ( | const size_type | slice, |
const size_type | col | ||
) |
Returns a read/write reverse iterator that points to the last element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
const_reverse_col_iterator slip::Matrix3d< Block >::col_rbegin | ( | const size_type | slice, |
const size_type | col | ||
) | const |
Returns a read_only reverse iterator that points to the last element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
reverse_col_range_iterator slip::Matrix3d< Block >::col_rbegin | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the last element of the Range range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate. |
const_reverse_col_range_iterator slip::Matrix3d< Block >::col_rbegin | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read_only iterator that points to the last element of the Range & range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate. |
reverse_col_iterator slip::Matrix3d< Block >::col_rend | ( | const size_type | slice, |
const size_type | col | ||
) |
Returns a read/write reverse iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
const_reverse_col_iterator slip::Matrix3d< Block >::col_rend | ( | const size_type | slice, |
const size_type | col | ||
) | const |
Returns a read_only reverse iterator that points to the first element of the column column of the slice slice in the Matrix3d. Iteration is done modulo the number of columns.
slice | The index of the slice. |
col | The index of the column |
reverse_col_range_iterator slip::Matrix3d< Block >::col_rend | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to one before the first element of the Range range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate. |
const_reverse_col_range_iterator slip::Matrix3d< Block >::col_rend | ( | const size_type | slice, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the first element of the Range range of the col of a slice col in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
col | The index of the column to iterate. |
range | Range of the column to iterate. |
|
inline |
Returns the number of columns (third dimension size) in the Matrix3d.
Definition at line 5342 of file Matrix3d.hpp.
|
inline |
Returns the number of columns (third dimension size) in the Matrix3d.
Definition at line 5347 of file Matrix3d.hpp.
|
inline |
Returns the number of slices (first dimension size) in the Matrix3d.
Definition at line 5317 of file Matrix3d.hpp.
|
inline |
Returns the number of rows (second dimension size) in the Matrix3d.
Definition at line 5327 of file Matrix3d.hpp.
|
inline |
Returns the number of columns (third dimension size) in the Matrix3d.
Definition at line 5337 of file Matrix3d.hpp.
|
inline |
Returns true if the Matrix3d is empty. (Thus size() == 0)
Definition at line 5368 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator that points one past the last element in the Matrix3d. Iteration is done in ordinary element order.
Definition at line 3946 of file Matrix3d.hpp.
|
inline |
Returns a read-only (constant) iterator that points one past the last element in the Matrix3d. Iteration is done in ordinary element order.
Definition at line 3961 of file Matrix3d.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with copies of value.
value | A reference-to-const of arbitrary type. |
Definition at line 3197 of file Matrix3d.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with a copy of the value array.
value | A pointer of arbitrary type. |
Definition at line 3208 of file Matrix3d.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with a copy of the range [first,last)
first | An input iterator. |
last | An input iterator. |
Definition at line 3222 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Matrix3d.
Definition at line 5030 of file Matrix3d.hpp.
|
inline |
Returns a read-only iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Matrix3d.
Definition at line 5037 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Box3d associated to the Matrix3d.
box | A Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5096 of file Matrix3d.hpp.
|
inline |
Returns a read only iterator3d that points to the first element of the Matrix3d. It points to the front upper left element of the Box3d associated to the Matrix3d.
box | a Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5103 of file Matrix3d.hpp.
|
inline |
Returns a read/write iterator3d_range that points to the front upper left element of the ranges slice_range, row_range and col_range associated to the Matrix3d.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5166 of file Matrix3d.hpp.
|
inline |
Returns a read-only iterator3d_range that points to the to the front upper left element of the ranges slice_range, row_range and col_range associated to the Matrix3d.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5187 of file Matrix3d.hpp.
|
inline |
Returns the max element of the Matrix according to the operator <.
Definition at line 5541 of file Matrix3d.hpp.
|
inline |
Returns the maximal size (number of elements) in the Matrix3d.
Definition at line 5358 of file Matrix3d.hpp.
|
inline |
Returns the min element of the Matrix according to the operator <.
Definition at line 5533 of file Matrix3d.hpp.
|
inline |
Returns the name of the class.
Definition at line 5311 of file Matrix3d.hpp.
reference slip::Matrix3d< Block >::operator() | ( | const size_type | k, |
const size_type | i, | ||
const size_type | j | ||
) |
Subscript access to the data contained in the Matrix3d.
k | The index of the slice for which the data should be accessed. |
i | The index of the row for which the data should be accessed. |
j | The index of the column for which the data should be accessed. |
const_reference slip::Matrix3d< Block >::operator() | ( | const size_type | k, |
const size_type | i, | ||
const size_type | j | ||
) | const |
Subscript access to the data contained in the Matrix3d.
k | The index of the slice for which the data should be accessed. |
i | The index of the row for which the data should be accessed. |
j | The index of the column for which the data should be accessed. |
|
inline |
Definition at line 5463 of file Matrix3d.hpp.
|
inline |
Definition at line 5511 of file Matrix3d.hpp.
|
inline |
Add val to each element of the Matrix.
val | value |
Definition at line 5447 of file Matrix3d.hpp.
|
inline |
Definition at line 5488 of file Matrix3d.hpp.
|
inline |
Definition at line 5479 of file Matrix3d.hpp.
|
inline |
Definition at line 5455 of file Matrix3d.hpp.
|
inline |
Definition at line 5500 of file Matrix3d.hpp.
|
inline |
Definition at line 5471 of file Matrix3d.hpp.
|
inline |
Definition at line 5522 of file Matrix3d.hpp.
|
inline |
Assign a Matrix3d.
Assign elements of Matrix3d in rhs
rhs | Matrix3d to get the values from. |
Definition at line 3896 of file Matrix3d.hpp.
|
inline |
Assign all the elments of the Matrix3d by value.
value | A reference-to-const of arbitrary type. |
Definition at line 3907 of file Matrix3d.hpp.
T** slip::Matrix3d< Block >::operator[] | ( | const size_type | k | ) |
Subscript access to the slice datas contained in the GenericMultiComponent3d.
k | The index of the slice for which data should be accessed. |
This operator allows for easy, 3d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
const T* const* slip::Matrix3d< Block >::operator[] | ( | const size_type | k | ) | const |
Subscript access to the slice datas contained in the GenericMultiComponent3d.
k | The index of the slice for which data should be accessed. |
This operator allows for easy, 3d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
iterator slip::Matrix3d< Block >::plane_begin | ( | const size_type | slice | ) |
Returns a read/write iterator that points to the first element in the in the slice plane of the Matrix3d. Iteration is done in ordinary element order.
slice | the slice coordinate of the plane |
const_iterator slip::Matrix3d< Block >::plane_begin | ( | const size_type | slice | ) | const |
Returns a read-only (constant) iterator that points to the first element in the slice plane of the Matrix3d. Iteration is done in ordinary element order.
slice | the slice coordinate of the plane |
iterator2d slip::Matrix3d< Block >::plane_bottom_right | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) |
Returns a read/write iterator that points to the last element of the plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
const_iterator2d slip::Matrix3d< Block >::plane_bottom_right | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) | const |
Returns a read/write const iterator that points to the last element of the plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
|
inline |
Returns a read/write iterator that points to the last element of a box within a plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 4964 of file Matrix3d.hpp.
|
inline |
Returns a read/write const iterator that points to the last element of a box within a plane in the Matrix3d. It points to past the end element of the bottom right element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 4981 of file Matrix3d.hpp.
iterator slip::Matrix3d< Block >::plane_end | ( | const size_type | slice | ) |
Returns a read/write iterator that points one past the last element in the slice plane of the Matrix3d. Iteration is done in ordinary element order.
slice | the slice coordinate of the plane |
const_iterator slip::Matrix3d< Block >::plane_end | ( | const size_type | slice | ) | const |
Returns a read-only (constant) iterator that points one past the last element in the slice plane of the Matrix3d. Iteration is done in ordinary element order.
slice | the slice coordinate of the plane |
reverse_iterator slip::Matrix3d< Block >::plane_rbegin | ( | const size_type | slice | ) |
Returns a read/write reverse iterator that points to the last element in the slice plane of the Matrix3d. Iteration is done in reverse element order.
slice | the slice coordinate of the plane |
const_reverse_iterator slip::Matrix3d< Block >::plane_rbegin | ( | const size_type | slice | ) | const |
Returns a read-only (constant) reverse iterator that points to the last element in the slice plane k of the Matrix3d. Iteration is done in reverse element order.
slice | the slice coordinate of the plane |
reverse_iterator2d slip::Matrix3d< Block >::plane_rbottom_right | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) |
Returns a read/write reverse_iterator that points to the upper left element of the plane in the Matrix3d. Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
const_reverse_iterator2d slip::Matrix3d< Block >::plane_rbottom_right | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) | const |
Returns a read/write const reverse iterator that points to the upper left element of the plane in the Matrix3d. Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
|
inline |
Returns a read/write reverse iterator that points to the first element of a box within a plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 4998 of file Matrix3d.hpp.
|
inline |
Returns a read/write const reverse iterator that points to the first element of a box within a plane in the Matrix3d. It points to the bottom right element of the plane Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 5015 of file Matrix3d.hpp.
reverse_iterator slip::Matrix3d< Block >::plane_rend | ( | const size_type | slice | ) |
Returns a read/write reverse iterator that points to one before the first element in the slice plane of the Matrix3d. Iteration is done in reverse element order.
slice | the slice coordinate of the plane |
const_reverse_iterator slip::Matrix3d< Block >::plane_rend | ( | const size_type | slice | ) | const |
Returns a read-only (constant) reverse iterator that points to one before the first element in the slice plane of the Matrix3d. Iteration is done in reverse element order.
slice | the slice coordinate of the plane |
reverse_iterator2d slip::Matrix3d< Block >::plane_rupper_left | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) |
Returns a read/write reverse_iterator that points to the bottom right element of the plane in the Matrix3d. Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
const_reverse_iterator2d slip::Matrix3d< Block >::plane_rupper_left | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) | const |
Returns a read/write const reverse iterator that points to the bottom right element of the plane in the Matrix3d. Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
|
inline |
Returns a read/write reverse iterator that points to the last element of a box within a plane in the Matrix3d. It points to the bottom right element of the box Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 4990 of file Matrix3d.hpp.
|
inline |
Returns a read/write const reverse iterator that points to the last element of a box within a plane in the Matrix3d. It points to the bottom right element of the plane Iteration is done in backward element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 5006 of file Matrix3d.hpp.
iterator2d slip::Matrix3d< Block >::plane_upper_left | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) |
Returns a read/write iterator that points to the first element of the plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
const_iterator2d slip::Matrix3d< Block >::plane_upper_left | ( | PLANE_ORIENTATION | P, |
const size_type | plane_coordinate | ||
) | const |
Returns a read/write const iterator that points to the first element of the plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
|
inline |
Returns a read/write iterator that points to the first element of a box within a plane in the Matrix3d. It points to the upper left element of the box Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 4956 of file Matrix3d.hpp.
|
inline |
Returns a read/write const iterator that points to the first element of a box within a plane in the Matrix3d. It points to the upper left element of the plane Iteration is done in ordinary element order.
P | number of the plane axe (PLANE_ORIENTATION). |
plane_coordinate | The constant coordinate |
b | The box within the plane |
Definition at line 4972 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse iterator3d. It points to past the front upper left element of the Matrix3d. Iteration is done in the reverse order.
Definition at line 5061 of file Matrix3d.hpp.
|
inline |
Returns a read only reverse iterator3d. It points to past the front upper left element of the Matrix3d. Iteration is done in the reverse order.
Definition at line 5069 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse iterator3d. It points to one before the front upper left element of the Box3d box associated to the Matrix3d.
box | A Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5130 of file Matrix3d.hpp.
|
inline |
Returns a read-only reverse iterator3d. It points to one before the front element of the bottom right element of the Box3d box associated to the Matrix3d.
box | A Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5138 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse_iterator3d_range that points to one before the front upper left element of the ranges row_range and col_range associated to the Matrix3d. Iteration is done in the reverse order.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5231 of file Matrix3d.hpp.
|
inline |
Returns a read-only reverse_iterator3d_range that points to one before the front upper left element of the ranges row_range and col_range associated to the Matrix3d.Iteration is done in the reverse order.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5241 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse iterator that points to the last element in the Matrix3d. Iteration is done in reverse element order.
Definition at line 3970 of file Matrix3d.hpp.
|
inline |
Returns a read-only (constant) reverse iterator that points to the last element in the Matrix3d. Iteration is done in reverse element order.
Definition at line 3984 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse iterator that points to one before the first element in the Matrix3d. Iteration is done in reverse element order.
Definition at line 3977 of file Matrix3d.hpp.
|
inline |
Returns a read-only (constant) reverse iterator that points to one before the first element in the Matrix3d. Iteration is done in reverse element order.
Definition at line 3991 of file Matrix3d.hpp.
|
inline |
Resizes a Matrix3d.
d1 | new first dimension |
d2 | new second dimension |
d3 | new third dimension |
val | new value for all the elements |
Definition at line 3915 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse iterator3d. It points to the back bottom right element of the Matrix3d. Iteration is done within the Matrix3d in the reverse order.
Definition at line 5078 of file Matrix3d.hpp.
|
inline |
Returns a read only reverse iterator3d that points. It points to the back bottom right element of the Matrix3d. Iteration is done within the Matrix3d in the reverse order.
Definition at line 5086 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse iterator3d. It points to the back bottom right element of the Box3d associated to the Matrix3d. Iteration is done in the reverse order.
box | a Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5147 of file Matrix3d.hpp.
|
inline |
Returns a read only reverse iterator3d. It points to the back bottom right element of the Box3d box associated to the Matrix3d. Iteration is done in the reverse order.
box | A Box3d defining the range of indices to iterate within the Matrix3d. |
Definition at line 5155 of file Matrix3d.hpp.
|
inline |
Returns a read/write reverse_iterator3d_range that points to the past the back bottom right element of the ranges row_range and col_range associated to the Matrix3d. Iteration is done in the reverse order.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5210 of file Matrix3d.hpp.
|
inline |
Returns a read-only reverse_iterator3d_range that points to the past the back bottom right element of the ranges row_range and col_range associated to the Matrix3d. Iteration is done in the reverse order.
slice_range | The range of the slices. |
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 5220 of file Matrix3d.hpp.
row_iterator slip::Matrix3d< Block >::row_begin | ( | const size_type | slice, |
const size_type | row | ||
) |
Returns a read/write iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order.
slice | The index of the slice. |
row | The index of the row. |
const_row_iterator slip::Matrix3d< Block >::row_begin | ( | const size_type | slice, |
const size_type | row | ||
) | const |
Returns a read_only iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order.
slice | The index of the slice. |
row | The index of the row. |
row_range_iterator slip::Matrix3d< Block >::row_begin | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points to the first element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_row_range_iterator slip::Matrix3d< Block >::row_begin | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the first element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate. |
row_iterator slip::Matrix3d< Block >::row_end | ( | const size_type | slice, |
const size_type | row | ||
) |
Returns a read/write iterator that points to the past-the-end element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order.
slice | The index of the slice. |
row | The index of the row. |
const_row_iterator slip::Matrix3d< Block >::row_end | ( | const size_type | slice, |
const size_type | row | ||
) | const |
Returns a read_only iterator that points to the past-the-end element of the row row of the slice slice in the Matrix3d. Iteration is done in ordinary element order.
slice | The index of the slice. |
row | The index of the row. |
row_range_iterator slip::Matrix3d< Block >::row_end | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points one past the end element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_row_range_iterator slip::Matrix3d< Block >::row_end | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read_only iterator that points one past the last element of the Range range of the row row in the Matrix3d. Iteration is done in ordinary element order according to the Range.
slice | The index of the slice. |
row | Row to iterate. |
range | Range of the row to iterate |
reverse_row_iterator slip::Matrix3d< Block >::row_rbegin | ( | const size_type | slice, |
const size_type | row | ||
) |
Returns a read/write reverse iterator that points to the last element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order.
slice | The index of the slice. |
row | The index of the row. |
const_reverse_row_iterator slip::Matrix3d< Block >::row_rbegin | ( | const size_type | slice, |
const size_type | row | ||
) | const |
Returns a read_only reverse iterator that points to the last element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order.
slice | The index of the slice. |
row | The index of the row. |
reverse_row_range_iterator slip::Matrix3d< Block >::row_rbegin | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the last element of the Range range of the row of a slice row and slice in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_reverse_row_range_iterator slip::Matrix3d< Block >::row_rbegin | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the last element of the Range range of the row of a slice row in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate |
reverse_row_iterator slip::Matrix3d< Block >::row_rend | ( | const size_type | slice, |
const size_type | row | ||
) |
Returns a read/write reverse iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order.
slice | The index of the slice. |
row | The index of the row. |
const_reverse_row_iterator slip::Matrix3d< Block >::row_rend | ( | const size_type | slice, |
const size_type | row | ||
) | const |
Returns a read_only reverse iterator that points to the first element of the row row of the slice slice in the Matrix3d. Iteration is done in reverse element order.
slice | The index of the slice. |
row | The index of the row. |
reverse_row_range_iterator slip::Matrix3d< Block >::row_rend | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points one before the first element of the Range range of the row of a slice row in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_reverse_row_range_iterator slip::Matrix3d< Block >::row_rend | ( | const size_type | slice, |
const size_type | row, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points one before the first element of the Range range of the row of a slice row in the Matrix3d. Iteration is done in the reverse element order according to the Range.
slice | The index of the slice. |
row | The index of the row to iterate. |
range | Range of the row to iterate |
|
inline |
Returns the number of rows (second dimension size) in the Matrix3d.
Definition at line 5332 of file Matrix3d.hpp.
|
inline |
Returns the number of elements in the Matrix3d.
Definition at line 5353 of file Matrix3d.hpp.
slice_iterator slip::Matrix3d< Block >::slice_begin | ( | const size_type | row, |
const size_type | col | ||
) |
Returns a read/write iterator that points to the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
const_slice_iterator slip::Matrix3d< Block >::slice_begin | ( | const size_type | row, |
const size_type | col | ||
) | const |
Returns a read-only (constant) iterator that points to the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
slice_range_iterator slip::Matrix3d< Block >::slice_begin | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points to the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
const_slice_range_iterator slip::Matrix3d< Block >::slice_begin | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read only (constant) iterator that points to the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
slice_iterator slip::Matrix3d< Block >::slice_end | ( | const size_type | row, |
const size_type | col | ||
) |
Returns a read/write iterator that points to the one past the end element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
const_slice_iterator slip::Matrix3d< Block >::slice_end | ( | const size_type | row, |
const size_type | col | ||
) | const |
Returns a read-only (constant) iterator that points to the one past the end element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order (increasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
slice_range_iterator slip::Matrix3d< Block >::slice_end | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points one past the end element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
const_slice_range_iterator slip::Matrix3d< Block >::slice_end | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read_only iterator that points one past the last element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in ordinary element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
reverse_slice_iterator slip::Matrix3d< Block >::slice_rbegin | ( | const size_type | row, |
const size_type | col | ||
) |
Returns a read/write iterator that points to the last element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
const_reverse_slice_iterator slip::Matrix3d< Block >::slice_rbegin | ( | const size_type | row, |
const size_type | col | ||
) | const |
Returns a read-only (constant) iterator that points to the last element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
reverse_slice_range_iterator slip::Matrix3d< Block >::slice_rbegin | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points to the last element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in the reverse element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
const_reverse_slice_range_iterator slip::Matrix3d< Block >::slice_rbegin | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read only (constant) iterator that points to the last element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
reverse_slice_iterator slip::Matrix3d< Block >::slice_rend | ( | const size_type | row, |
const size_type | col | ||
) |
Returns a read/write iterator that points to the one before the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
const_reverse_slice_iterator slip::Matrix3d< Block >::slice_rend | ( | const size_type | row, |
const size_type | col | ||
) | const |
Returns a read (constant) iterator that points to the one before the first element of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order (decreasing slice number).
row | row coordinate of the line |
col | col coordinate of the line |
reverse_slice_range_iterator slip::Matrix3d< Block >::slice_rend | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points to the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
const_reverse_slice_range_iterator slip::Matrix3d< Block >::slice_rend | ( | const size_type | row, |
const size_type | col, | ||
const slip::Range< int > & | range | ||
) | const |
Returns a read_only iterator that points one past the lastto the first element of the Range range of the of the line (row,col) threw the slices in the Matrix3d. Iteration is done in reverse element order according to the Range.
row | row coordinate of the line |
col | col coordinate of the line |
range | Range of the line to iterate. |
|
inline |
Returns the number of elements in a slice of the Matrix3d.
Definition at line 5364 of file Matrix3d.hpp.
|
inline |
Returns the number of slices (first dimension size) in the Matrix3d.
Definition at line 5322 of file Matrix3d.hpp.
|
inline |
Returns the sum of the elements of the Matrix.
Definition at line 5549 of file Matrix3d.hpp.
|
inline |
Swaps data with another Matrix3d.
M | A Matrix3d of the same element type |
Definition at line 5372 of file Matrix3d.hpp.
Returns the abs value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5714 of file Matrix3d.hpp.
Returns the acos value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5742 of file Matrix3d.hpp.
Returns the sin value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5760 of file Matrix3d.hpp.
Returns the atan value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5778 of file Matrix3d.hpp.
|
friend |
Definition at line 3527 of file Matrix3d.hpp.
Returns the cos value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5733 of file Matrix3d.hpp.
Returns the cosh value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5805 of file Matrix3d.hpp.
Returns the exp value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5787 of file Matrix3d.hpp.
Returns the log value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5796 of file Matrix3d.hpp.
Returns the log10 value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5832 of file Matrix3d.hpp.
|
related |
Returns the max element of a Matrix3d.
M1 | the Matrix3d |
Definition at line 5707 of file Matrix3d.hpp.
|
related |
Returns the min element of a Matrix3d.
M1 | the Matrix3d |
Definition at line 5700 of file Matrix3d.hpp.
|
friend |
Matrix3d inequality comparison
x | A Matrix3d |
y | A Matrix3d of the same type of x |
Definition at line 5394 of file Matrix3d.hpp.
Less than comparison operator (Matrix3d ordering relation)
x | A Matrix3d |
y | A Matrix3d of the same type of x |
Definition at line 5406 of file Matrix3d.hpp.
|
friend |
Write the Matrix3d to the ouput stream.
out | output std::ostream |
a | Matrix3d to write to the output stream |
Definition at line 5258 of file Matrix3d.hpp.
|
friend |
Less than equal comparison operator.
x | A Matrix3d |
y | A Matrix3d of the same type of x |
Definition at line 5424 of file Matrix3d.hpp.
|
friend |
Matrix3d equality comparison
x | A Matrix3d |
y | A Matrix3d of the same type of x |
Definition at line 5385 of file Matrix3d.hpp.
More than comparison operator.
x | A Matrix3d |
y | A Matrix3d of the same type of x |
Definition at line 5416 of file Matrix3d.hpp.
|
friend |
More than equal comparison operator.
x | A Matrix3d |
y | A Matrix3d of the same type of x |
Definition at line 5432 of file Matrix3d.hpp.
Returns the sin value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5751 of file Matrix3d.hpp.
Returns the sinh value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5814 of file Matrix3d.hpp.
Returns the sqrt value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5724 of file Matrix3d.hpp.
Returns the tan value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5769 of file Matrix3d.hpp.
Returns the tanh value of each element of the Matrix3d.
V | The Matrix3d |
Definition at line 5823 of file Matrix3d.hpp.
|
static |
Definition at line 233 of file Matrix3d.hpp.