Scilab 5.4.0
      
      - Scilab help
 - Elementary Functions
 - bitwise
 - Complex
 - Discrete mathematics
 - elementarymatrices
 - Exponential
 - Floating point
 - Integer representation
 - matrixmanipulation
 - matrixoperations
 - searchandsort
 - setoperations
 - signalprocessing
 - symbolic
 - Trigonometry
 - and
 - &
 - cat
 - cell2mat
 - cellstr
 - isempty
 - isequal
 - isvector
 - lstsize
 - maxi
 - mini
 - modulo
 - ndims
 - nthroot
 - or
 - |
 - sign
 - size
 - sort
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
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])
参照
- or 演算子 (|) — 論理和演算子
 - and — 論理積, 配列の要素
 - not — (~) 論理否定
 - find — 論理値ベクトルまたは行列のtrue要素の添え字を見つける
 
| Report an issue | ||
| << nthroot | Elementary Functions | | >> |