aplat
Flattens a list.
Syntax
[lf,ind] = aplat(l,r)
Arguments
- l
 a list
- r
 an optional flat list
- lf
 a flat list (a single hierachical level)
- ind
 a list, each entry give the path of the corresponding lf entry in the original list
Description
Creates a flat list, built with the initial l list leaves and if given prepended by the r list entries
See also
- recons — Inverse function for aplat.
 
| Report an issue | ||
| << Semidefinite Programming | Semidefinite Programming | lmisolver >> |