Mercurial > repos > public > sbplib
comparison +grid/funcToMatrix.m @ 166:7cb97c1988d9 feature/grids
Updated function name reference.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 23 Feb 2016 10:55:46 +0100 |
parents | 51aaf67a7df5 |
children | 5f75d7094983 |
comparison
equal
deleted
inserted
replaced
165:5dad3b754c18 | 166:7cb97c1988d9 |
---|---|
1 % Converts a gridfunction to a matrix | 1 % Converts a gridfunction to a matrix |
2 % Takes a grid function and and a structured grid. | 2 % Takes a grid function and and a structured grid. |
3 function F = funcToMatrix(g, gf) | 3 function F = funcToMatrix(g, gf) |
4 reshapeKronVector(gf, g.size()); | 4 reshapeRowMaj(gf, g.size()); |
5 end | 5 end |