TMB Documentation  v1.9.11
Namespaces | Functions
kronecker.hpp File Reference

Kronecker product of two matrices. More...

Go to the source code of this file.

Namespaces

 tmbutils
 Utility functions for TMB (automatically included)
 

Functions

template<class scalartype , int n1, int n2, int n3, int n4>
Matrix< scalartype, n1 *n3, n2 *n4 > tmbutils::kronecker (Matrix< scalartype, n1, n2 > x, Matrix< scalartype, n3, n4 > y)
 Kronecker product of two matrices.
 
template<class scalartype >
matrix< scalartype > tmbutils::kronecker (matrix< scalartype > x, matrix< scalartype > y)
 Kronecker product of two matrices.
 

Detailed Description

Kronecker product of two matrices.

Definition in file kronecker.hpp.

License: GPL v2