Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:language_reference:objects:matrix:functions:expand [2024/12/12 17:39] Maurits W. Haverkortdocumentation:language_reference:objects:matrix:functions:expand [2025/07/25 11:27] (current) – Corrected final dimension Johann Collard
Line 3: Line 3:
  
 ### ###
-Matrix.Expand($M$, $n$, $x$) takes a quadratic matrix $M$ of dimension $m$ by $m$ and enlarges the dimension by $n$ to $n+mby $n+m$. The new diagonal values are set to $x$. If $x$ is not given all new entries are set to 0.+Matrix.Expand($M$, $n$, $x$) takes a quadratic matrix $M$ of dimension $m$ by $m$ and enlarges the dimension to $n$ by $n$, with $n\geq m$ required. The new diagonal values are set to $x$. If $x$ is not given all new entries are set to 0.
 ### ###
  
Print/export