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 > and

and

論理積, 配列の要素

呼び出し手順

b=and(A), b=and(A,'*')
b=and(A,'r'), b=and(A,1)
b=and(A,'c'), b=and(A,2)

説明

and(A) は, 論理値行列の要素の論理積 AND です. Aの全エントリが %T である場合にのみ and(A)%T ("true") となります.

y=and(A,'r') (または, 等価的に y=and(A,1)) は行方向の論理積です.   行ベクトル y の各エントリに, xの各行の論理積を返します. (この and は次のように行添え字に関して行われます : y(j)= and(A(i,j),i=1,m)).

y=and(A,'c') (または, 等価的に y=and(A,2)) は列方向の論理積です. 列ベクトルyの各エントリに, xの各列の論理積を返します. 返します. (このandは次のように列添え字に関して行われます:y(i)= and(A(i,j),j=1,n))

<< amell 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:03 CET 2011