Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab manual >> Elementary Functions > lstsize

lstsize

list, tlist, mlist エントリの数

呼び出し手順

n=lstsize(x)

パラメータ

l

list, tlist または mlist オブジェクト

n

整数, エントリの数

説明

lstsize(x) はlist, list, mlistオブジェクト のエントリの数を返します. この関数は sizeよりも効率的で 全てのリスト型で類似の動作をします. この際,sizemlist オブジェクト用にオーバーロードされます.

lstsize(list(1,'aqsdf'))
x=ssrand(3,2,4);
[ny,nu]=size(x)
lstsize(x)
<< logspace Elementary Functions max >>

Copyright (c) 2022-2023 (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:
Wed Jan 26 16:25:04 CET 2011