Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Otimização e Simulação > Semidefinite Programming > aplat

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

Examples

[lf,ind]=aplat(list(1,2,list([3,1],'xxx',list([3,2,1]))))

See also

  • recons — Inverse function for aplat.
Report an issue
<< Semidefinite Programming Semidefinite Programming lmisolver >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:52:31 CET 2020