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

Matrix class used by TMB. More...

#include <vector.hpp>

Public Member Functions

vector< Type > vec ()
 

Detailed Description

template<class Type>
struct 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.

Examples:
laplace.cpp, matern.cpp, matrix_arrays.cpp, multivariate_distributions.cpp, mvrw.cpp, nmix.cpp, sam.cpp, sdv_multi.cpp, spatial.cpp, spde_aniso.cpp, spde_aniso_speedup.cpp, TMBad/sam.cpp, TMBad/solver.cpp, TMBad/spatial.cpp, and validation/MVRandomWalkValidation.cpp.

Definition at line 101 of file vector.hpp.

Member Function Documentation

§ vec()

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

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

Definition at line 120 of file vector.hpp.


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