Tutorial_Map_using.cpp File Reference

Go to the source code of this file.

Typedefs

typedef Map< MatrixTypeMapType
 
typedef Map< const MatrixTypeMapTypeConst
 
typedef Matrix< float, 1, Dynamic > MatrixType
 

Functions

MatrixType m1 (n_dims)
 
MatrixType m2 (n_dims)
 
MapType m2map (p, m2.size())
 
MapTypeConst m2mapconst (p, m2.size())
 
m1 setRandom ()
 

Variables

const int n_dims
 
float * p
 

Typedef Documentation

◆ MapType

typedef Map<MatrixType> MapType

Definition at line 2 of file Tutorial_Map_using.cpp.

◆ MapTypeConst

typedef Map<const MatrixType> MapTypeConst

Definition at line 3 of file Tutorial_Map_using.cpp.

◆ MatrixType

typedef Matrix<float,1,Dynamic> MatrixType

Definition at line 1 of file Tutorial_Map_using.cpp.

Function Documentation

◆ m1()

MatrixType m1 ( n_dims  )

◆ m2()

MatrixType m2 ( n_dims  )

◆ m2map()

MapType m2map ( p  ,
m2.  size() 
)

◆ m2mapconst()

MapTypeConst m2mapconst ( p  ,
m2.  size() 
)

◆ setRandom()

m1 setRandom ( )

Variable Documentation

◆ n_dims

const int n_dims

Definition at line 4 of file Tutorial_Map_using.cpp.

◆ p

float* p

Definition at line 9 of file Tutorial_Map_using.cpp.