Functions
Utils.hpp File Reference
#include <MessageHandling.hpp>
#include <Utils.ipp>
Include dependency graph for external_packages/qpoases/INCLUDE/Utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

real_t getAbs (real_t x)
real_t getCPUtime ()
real_t getNorm (const real_t *const v, int n)

Function Documentation

real_t getAbs ( real_t  x) [inline]

Returns the absolute value of a real_t.

Returns:
Absolute value of a real_t
Parameters:
xInput argument.

Returns the current system time.

Returns:
current system time

Definition at line 433 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/Utils.cpp.

real_t getNorm ( const real_t *const  v,
int  n 
)

Returns the Euclidean norm of a vector.

Returns:
0: successful
Parameters:
vVector.
nVector's dimension.

Definition at line 455 of file examples/code_generation/mpc_mhe/getting_started_export/qpoases/SRC/Utils.cpp.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:22