We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
ArrayFlatten[{{m11,m12,…},{m21,m22,…},…}]
creates a single flattened matrix from a matrix of matrices mi j.
ArrayFlatten[a,r]
flattens out r pairs of levels in the array a.
DetailsCreate a block matrix by flattening out a matrix of matrices:
Use 0s to represent zero matrices:
Scope (4)Flatten a rank-4 array to rank 2:
Flatten only the first four levels of a rank-6 array:
Flatten a rank 6 array to rank 3:
ArrayFlatten works with SparseArray objects:
Make a sparse matrix from a block matrix of SparseArray objects:
Applications (5)Put together many copies of a "tile":
Iterate a 2D substitution system:
Iterate a 3D substitution system:
Form an involutory matrix , such that :
Check that the resulting matrix is involutory:
Form a block matrix semidiscretization of the wave equation with n spatial points:
Differentiation matrix for second-order approximation of with periodic boundary conditions:
Form block matrix a for system where :
Set up an initial condition vector for :
Approximate the solution at using the backward Euler method with time step k:
Properties & Relations (3) Wolfram Research (2007), ArrayFlatten, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayFlatten.html. TextWolfram Research (2007), ArrayFlatten, Wolfram Language function, https://reference.wolfram.com/language/ref/ArrayFlatten.html.
CMSWolfram Language. 2007. "ArrayFlatten." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ArrayFlatten.html.
APAWolfram Language. (2007). ArrayFlatten. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ArrayFlatten.html
BibTeX@misc{reference.wolfram_2025_arrayflatten, author="Wolfram Research", title="{ArrayFlatten}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ArrayFlatten.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_arrayflatten, organization={Wolfram Research}, title={ArrayFlatten}, year={2007}, url={https://reference.wolfram.com/language/ref/ArrayFlatten.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4