Scilab 5.4.0
      
      - Scilab help
 - Elementary Functions
 - Trigonometry
 - acos
 - acosd
 - acosh
 - acoshm
 - acosm
 - acot
 - acotd
 - acoth
 - acsc
 - acscd
 - acsch
 - asec
 - asecd
 - asech
 - asin
 - asind
 - asinh
 - asinhm
 - asinm
 - atan
 - atand
 - atanh
 - atanhm
 - atanm
 - cos
 - cosd
 - cosh
 - coshm
 - cosm
 - cotd
 - cotg
 - coth
 - cothm
 - csc
 - cscd
 - csch
 - csgn
 - sec
 - secd
 - sech
 - sin
 - sinc
 - sind
 - sinh
 - sinhm
 - sinm
 - tan
 - tand
 - tanh
 - tanhm
 - tanm
 
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
csgn
複素数の実部のベクトル符号を返す.
呼出し手順
s = csgn(z)
パラメータs
- z
 符号を計算する値のベクトル.
- s
 実部が0に等しくない場合:
ある要素の実部が正の場合 +1
ある要素の実部が負の場合 -1
実部が0に等しい場合:
ある要素の虚部が正の場合 +1
ある要素の虚部が負の場合 -1
要素が 0の場合, %nan を返します
説明
複素数の実部のベクトルの符号を返します.
例
A = [1 1+%i 0 -1 1-%i -1-%i]; disp(csgn(A))
| Report an issue | ||
| << csch | Trigonometry | sec >> |