Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
documentation:language_reference:objects:matrix:functions:flatten [2018/08/06 11:53] – added reference to Matrix.Zero Simon Heinze | documentation:language_reference:objects:matrix:functions:flatten [2018/08/07 09:58] – Maurits W. Haverkort | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n> | {{indexmenu_n> | ||
====== Flatten ====== | ====== Flatten ====== | ||
+ | New in version fall 2018 | ||
Matrix.Flatten($M$) takes an object $M$, which must be a matrix with matrix-valued entries, and returns the flattened version, which is a matrix with numbers as entries. This allows for working with block matrices, e.g. defining a matrix of the form | Matrix.Flatten($M$) takes an object $M$, which must be a matrix with matrix-valued entries, and returns the flattened version, which is a matrix with numbers as entries. This allows for working with block matrices, e.g. defining a matrix of the form |