Scilab-Branch-5.3-GIT
- Scilab help
- Elementary Functions
- bitwise
- Complex
- Discrete mathematics
- elementarymatrices
- Floating point
- Integer representation
- matrixmanipulation
- matrixoperations
- searchandsort
- setoperations
- signalprocessing
- symbolic
- Trigonometry
- abs
- amell
- and
- &
- cat
- cell2mat
- cellstr
- char
- delip
- diff
- exp
- inttrap
- isdef
- isempty
- isequal
- isequalbitwise
- isvector
- log
- log10
- log1p
- log2
- logm
- lstsize
- max
- maxi
- min
- mini
- modulo
- ndims
- norm
- or
- |
- pertrans
- sign
- signm
- size
- sort
- sqrt
- sqrtm
- squarewave
- toeplitz
- typeof
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
modulo
対称剰余モジュロm演算
pmodulo
正の剰余モジュロm演算
呼出し手順
i=modulo(n,m) i=pmodulo(n,m)
パラメータ
- n,m
整数
説明
modulo
は,
i= n (modulo m)
,
すなわち, n
をm
で
割った剰余を計算します(n
および m
は整数).
i = n - m .* int (n ./ m). ここで,
n
または m
が負の場合,
答えが負となる可能性があります.
pmodulo
は i = n - m .* floor (n
./ m)
を計算します, 答えは正またはゼロとなります.
<< mini | Elementary Functions | ndims >> |