TMB Documentation  v1.9.11
Public Member Functions | List of all members
tmbutils::matrix< Type > Struct Template Reference

Matrix class used by TMB. More...

#include <tmbutils.hpp>

Public Member Functions

vector< Type > vec ()

Detailed Description

template<class Type>
struct tmbutils::matrix< Type >

Matrix class used by TMB.

The TMB matrix class is implemented as an Eigen Matrix of dynamic dimension. In particular, linear algebra methods are inherited from the Eigen library.

Definition at line 102 of file tmbutils.hpp.

Member Function Documentation

§ vec()

template<class Type>
vector<Type> tmbutils::matrix< Type >::vec ( )

The vec operator stacks the matrix columns into a single vector.

Definition at line 121 of file tmbutils.hpp.

The documentation for this struct was generated from the following file:
License: GPL v2