ConstMatrixColSlice Class Template Reference
[Vector and Matrix mathematics]

#include <Matrix.hpp>

Inheritance diagram for ConstMatrixColSlice:

Inheritance graph
[legend]
Collaboration diagram for ConstMatrixColSlice:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class gpstk::ConstMatrixColSlice< T >

a constant slice of a single column from a matrix.

Definition at line 487 of file Matrix.hpp.

Public Member Functions

 ConstMatrixColSlice ()
 default constructor
 ConstMatrixColSlice (const Matrix< T > &mat, size_t col)
 constructor taking a slice of column col from the matrix.
 ConstMatrixColSlice (const Matrix< T > &mat, size_t col, const std::slice &s)
 constructor taking a slice of column col from the matrix, slicing the column by s.
operator[] (size_t i) const
 returns the i'th element of the column slice
operator() (size_t i) const
 returns the i'th element of the column slice
operator() (size_t i, size_t j) const
 returns the (i,j) element of the column slice
size_t rows () const
 returns the size of the slice in rows
size_t cols () const
 returns the size of the slice in columns
size_t size () const
 returns the overall size of the slice
size_t rowSize () const
 returns the number of rows in this slice
size_t rowStart () const
 returns the starting row in the base matrix of this slice
size_t rowStride () const
 returns the number of elements between the i'th and i+1'th row
size_t colSize () const
 returns the number of columns in this slice
size_t colStart () const
 returns the starting row in the base matrix of this slice
size_t colStride () const
 returns the number of elements between the i'th and i+1'th row


Constructor & Destructor Documentation

ConstMatrixColSlice  )  [inline]
 

default constructor

Definition at line 491 of file Matrix.hpp.

ConstMatrixColSlice const Matrix< T > &  mat,
size_t  col
[inline]
 

constructor taking a slice of column col from the matrix.

Definition at line 496 of file Matrix.hpp.

References Matrix::cols(), and Matrix::rows().

ConstMatrixColSlice const Matrix< T > &  mat,
size_t  col,
const std::slice &  s
[inline]
 

constructor taking a slice of column col from the matrix, slicing the column by s.

Definition at line 502 of file Matrix.hpp.

References Matrix::cols(), and Matrix::rows().


Member Function Documentation

size_t cols void   )  const [inline]
 

returns the size of the slice in columns

Reimplemented from ConstMatrixBase< T, ConstMatrixColSlice< T > >.

Definition at line 524 of file Matrix.hpp.

size_t colSize  )  const [inline]
 

returns the number of columns in this slice

Reimplemented from MatrixSliceBase< T, ConstMatrixColSlice< T > >.

Definition at line 535 of file Matrix.hpp.

size_t colStart  )  const [inline]
 

returns the starting row in the base matrix of this slice

Reimplemented from MatrixSliceBase< T, ConstMatrixColSlice< T > >.

Definition at line 537 of file Matrix.hpp.

size_t colStride  )  const [inline]
 

returns the number of elements between the i'th and i+1'th row

Reimplemented from MatrixSliceBase< T, ConstMatrixColSlice< T > >.

Definition at line 539 of file Matrix.hpp.

T operator() size_t  i,
size_t  j
const [inline]
 

returns the (i,j) element of the column slice

Reimplemented from ConstMatrixBase< T, ConstMatrixColSlice< T > >.

Definition at line 518 of file Matrix.hpp.

T operator() size_t  i  )  const [inline]
 

returns the i'th element of the column slice

Definition at line 514 of file Matrix.hpp.

T operator[] size_t  i  )  const [inline]
 

returns the i'th element of the column slice

Definition at line 511 of file Matrix.hpp.

size_t rows void   )  const [inline]
 

returns the size of the slice in rows

Reimplemented from ConstMatrixBase< T, ConstMatrixColSlice< T > >.

Definition at line 522 of file Matrix.hpp.

size_t rowSize  )  const [inline]
 

returns the number of rows in this slice

Reimplemented from MatrixSliceBase< T, ConstMatrixColSlice< T > >.

Definition at line 529 of file Matrix.hpp.

References ConstMatrixBase::size().

size_t rowStart  )  const [inline]
 

returns the starting row in the base matrix of this slice

Reimplemented from MatrixSliceBase< T, ConstMatrixColSlice< T > >.

Definition at line 531 of file Matrix.hpp.

size_t rowStride  )  const [inline]
 

returns the number of elements between the i'th and i+1'th row

Reimplemented from MatrixSliceBase< T, ConstMatrixColSlice< T > >.

Definition at line 533 of file Matrix.hpp.

size_t size void   )  const [inline]
 

returns the overall size of the slice

Reimplemented from ConstMatrixBase< T, ConstMatrixColSlice< T > >.

Definition at line 526 of file Matrix.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 03:32:06 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1