template
class
FMatrix<class,int,int>
: public FArray2D<class,int,int>
(Return to index)
A templated representation for matrices.
This class implements the basic algebraic operations on general matrices,
which need not be square.
The destructor generated by the compiler does the correct thing,
and is not defined for speed.
Type: |
Instantiable |
Superclasses: |
public FArray2D<class,int,int> |
Include file: |
./FixedAlgebra/FMatrix.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
FMatrix
()
;
-
FMatrix
(const FMatrix&)
;
-
FMatrix
(const FArray2D<T,R,C>&)
;
-
FMatrix
(const T&)
;
-
FMatrix& operator=
(const FMatrix&)
;
-
FMatrix
(const T*)
;
-
FMatrix& operator=
(const FArray2D<T,R,C>&)
;
-
FMatrix& operator*=
(const T&)
;
-
FMatrix& operator/=
(const T&)
;
-
FMatrix& operator+=
(const FMatrix&)
;
-
FMatrix& operator-=
(const FMatrix&)
;
-
FMatrix<T,C,R> transpose
()const
;
-
typedef T value_type
;
-
typedef T* iterator
;
-
typedef const T* const_iterator
;
-
typedef T* row_iterator
;
-
typedef const T* const_row_iterator
;
-
typedef FSlice<T,N> col_iterator
;
-
typedef FConstSlice<T,N> const_col_iterator
;
-
const FArray2D<T,M,N>& operator=
(const FArray2D<T,M,N>&)
;
-
T& operator()
(int,int)
;
-
const T& operator()
(int,int)const
;
-
int nrows
()const
;
-
int ncols
()const
;
-
int size
()const
;
-
iterator begin
()
;
-
iterator end
()
;
-
const_iterator begin
()const
;
-
const_iterator end
()const
;
-
row_iterator row_begin
(int)
;
-
row_iterator row_end
(int)
;
-
const_row_iterator row_begin
(int)const
;
-
const_row_iterator row_end
(int)const
;
-
row_iterator operator[]
(int)
;
-
const_row_iterator operator[]
(int)const
;
-
col_iterator col_begin
(int)
;
-
col_iterator col_end
(int)
;
-
const_col_iterator col_begin
(int)const
;
-
const_col_iterator col_end
(int)const
;
-
void getColumn
(FArray1D<T,M>&,int)const
;
-
void getRow
(FArray1D<T,N>&,int)const
;
-
void putColumn
(const FArray1D<T,M>&,int)
;
-
void putRow
(const FArray1D<T,N>&,int)
;
-
void swapColumns
(int,int)
;
-
void swapRows
(int,int)
;
Documentation:
- Public members:
-
FMatrix
()
;
- Default constructor.
Construct zero matrix.
-
FMatrix
(const FMatrix&)
;
- Copy constructor.
-
FMatrix
(const FArray2D<T,R,C>&)
;
- Conversion from two-dimensional array.
-
FMatrix
(const T&)
;
- Constructor.
Set all matrix elements to t.
-
FMatrix
(const T*)
;
- Constructor.
Fill all matrix element form the C-array t.
-
FMatrix& operator*=
(const T&)
;
- Multiply by scalar and assign.
-
FMatrix& operator+=
(const FMatrix&)
;
- Add matrix and assign.
-
FMatrix& operator-=
(const FMatrix&)
;
- Subtract ,atrix and assign.
-
FMatrix& operator/=
(const T&)
;
- Divide by scalar and assign.
-
FMatrix& operator=
(const FMatrix&)
;
- Assignment.
-
FMatrix& operator=
(const FArray2D<T,R,C>&)
;
- Convert and assign.
-
FMatrix<T,C,R> transpose
()const
;
- FMatrix transpose.
Documentation generated by fci on Mon Feb 7 11:41:38 2000