![]() |
| サイトマップ | |
|
実数と虚数のブロックを複素数の範囲に変換します。
complex
(range, range)
最初の range には実数を、2番目の range には虚数を入れます。2番目の range はオプションです。2番目の range を指定しない場合は、complex
は虚数に対して 0 を返します。2番目の range を指定する場合は、最初の range と同じ値の数でなければなりません。
x = {1,2,3,4,5,6,7,8,9,10}
の場合、complex(x)
は、{{1,2,3,4,....,9,10}, {0,0,0,0,....,0,0}}
を返します。x = {1.0,-0.75,3.1}
かつ y = {1.2,2.1,-1.1}
の場合、complex(x,y)
は、{{1.0,-0.75,3.1}, {1.2,2.1,-1.1}}
を返します。
Converts a block of real and imaginary numbers into a range of complex numbers.
complex (range,range)
The first range contains the real values, the second range contains the imaginary values and is optional. If you do not specify the second range, the complex transform returns zeros for the imaginary numbers. If you do specify an imaginary range, it must contain the same number of values as the real value range.
If x = {1,2,3,4,5,6,7,8,9,10}, the operation complex(x) returns {{1,2,3,4,....,9,10}, {0,0,0,0,....,0,0}}.
If x = {1.0,-0.75,3.1} and y = {1.2,2.1,-1.1}, the operation complex(x,y) returns {{1.0,-0.75,3.1}, {1.2,2.1,-1.1}}.