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.
See the recommended documentation of this function

Scilab manual >> Elementary Functions > or

or

配列の要素の論理和

呼び出し手順

or(A), or(A,'*')
or(A,'r'), or(A,1)

or(A,'c'), or(A,2)

説明

or(A) は論理値行列Aの 要素の or を取得します. or(A) は, Aの少なくとも1個の要素が%t の場合に限り, 真 (%t)となります.

y=or(A,'r') (または, 等価的に y=or(A,1)) は行方向の論理和となります. 行ベクトル yの各エントリに xの各行の論理和が返されます. (論理和は行添字について実行されます : y(j)= or(A(i,j),i=1,m)).

y=or(A,'c') (または, 等価的に y=or(A,2)) は列方向の論理和となります. 列ベクトル yの各エントリに xの各列の論理和が返されます. (論理和は列添字について実行されます : y(i)= or(A(i,j),j=1,n)).

or([%t %t %f])
<< ones Elementary Functions | >>

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