Classes | Namespaces | Typedefs | Functions | Variables
matrix.hpp File Reference
#include <memory>
#include <acado/matrix_vector/vector.hpp>
Include dependency graph for matrix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenericMatrix< T >
 
struct  Eigen::internal::traits< ACADO::GenericMatrix< T > >
 

Namespaces

 Eigen
 iterative scaling algorithm to equilibrate rows and column norms in matrices
 
 Eigen::internal
 

Typedefs

typedef GenericMatrix< bool > BMatrix
 
typedef GenericMatrix< double > DMatrix
 
typedef std::shared_ptr< GenericMatrix< double > > DMatrixPtr
 
typedef GenericMatrix< int > IMatrix
 

Functions

template<typename T >
GenericMatrix< Teye (unsigned _dim)
 
template<typename T >
GenericMatrix< Tones (unsigned _nRows, unsigned _nCols=1)
 
template<typename T >
std::ostream & operator<< (std::ostream &_stream, const GenericMatrix< T > &_arg)
 
template<typename T >
std::istream & operator>> (std::istream &_stream, GenericMatrix< T > &_arg)
 
template<typename T >
GenericMatrix< Tzeros (unsigned _nRows, unsigned _nCols=1)
 

Variables

static const DMatrix emptyConstMatrix
 
static DMatrix emptyMatrix
 

Typedef Documentation

typedef GenericMatrix< bool > BMatrix

Type definition of the matrix of booleans.

Definition at line 461 of file matrix.hpp.

typedef GenericMatrix< double > DMatrix

Type definition of the matrix of doubles.

Definition at line 457 of file matrix.hpp.

typedef std::shared_ptr< GenericMatrix< double > > DMatrixPtr

Shared pointer to a matrix of doubles.

Definition at line 463 of file matrix.hpp.

typedef GenericMatrix< int > IMatrix

Type definition of the matrix of integers.

Definition at line 459 of file matrix.hpp.

Function Documentation

template<typename T >
GenericMatrix< T > eye ( unsigned  _dim)

Create an identity matrix.

Definition at line 452 of file matrix.hpp.

template<typename T >
GenericMatrix< T > ones ( unsigned  _nRows,
unsigned  _nCols = 1 
)

Create a square matrix with all T( 1 ) elements.

Definition at line 438 of file matrix.hpp.

template<typename T >
std::ostream& operator<< ( std::ostream &  _stream,
const GenericMatrix< T > &  _arg 
)

Prints the matrix into a stream.

Definition at line 414 of file matrix.hpp.

template<typename T >
std::istream& operator>> ( std::istream &  _stream,
GenericMatrix< T > &  _arg 
)

Read a matrix from an input stream.

Definition at line 426 of file matrix.hpp.

template<typename T >
GenericMatrix< T > zeros ( unsigned  _nRows,
unsigned  _nCols = 1 
)

Create a square matrix with all T( 0 ) elements.

Definition at line 445 of file matrix.hpp.

Variable Documentation

const DMatrix emptyConstMatrix
static

Definition at line 466 of file matrix.hpp.

DMatrix emptyMatrix
static

Definition at line 465 of file matrix.hpp.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:19