Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Français


list2vec

Concatenates list entries in a matrix.

Syntax

[bigVector,varsizes] = list2vec(li)

Arguments

li

a list with n entries. The list entries must be 2D matrices with compatible types.

bigVector

A column vector. Formed by the elements of the corresponding list entry.

varsizes

An n by 3 matrix. Each row contains the dimensions of the corresponding list entry.

Description

Concatenates list entries in a column vector. The list entries are supposed to be matrices with compatible types with respect to concatenation.

This function is a subsidiary for lmisolver

Examples

list2vec(list(1,2,3))
list2vec(list([1 2 3],[4;5],[%s %s+1]))

See also

  • vec2list — Inverse function of list2vec.
Report an issue
<< list Listes Structures Cells lstcat >>

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:
Mon Jun 17 17:52:28 CEST 2024