ublas: boost::numeric::ublas::permutation_matrix< T, A > Class Template Reference

# boost::numeric::ublas::permutation_matrix< T, A > Class Template Reference

Inherits boost::numeric::ublas::vector< T, A >.

List of all members.

## Public Types

typedef vector< T, A > | vector_type
typedef vector_type::size_type | size_type

## Public Member Functions

BOOST_UBLAS_INLINE | permutation_matrix (size_type size)
BOOST_UBLAS_INLINE | permutation_matrix (const vector_type &init)
BOOST_UBLAS_INLINE permutation_matrix & | operator= (const permutation_matrix &m)
| Assign a full vector (RHS-vector) to the current vector (LHS-vector).

## Detailed Description

### template<class T = std::size_t, class A = unbounded_array<T>>
class boost::numeric::ublas::permutation_matrix< T, A >

Template Parameters:

  | T |
  | A |

## Member Function Documentation

template<class T = std::size_t, class A = unbounded_array<T>>

BOOST_UBLAS_INLINE permutation_matrix& boost::numeric::ublas::permutation_matrix< T, A >::operator= | ( | const permutation_matrix< T, A > & | v | ) |

Parameters:

  | v | is the source vector

Returns:
  a reference to a vector (i.e. the destination vector)

Reimplemented from boost::numeric::ublas::vector< T, A >.