ベクトル(3要素の配列)を扱うモジュール
ベクトルの外積を返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
double precision, | intent(in) | :: | a(3) | |||
double precision, | intent(in) | :: | b(3) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | a(3) | |||
real, | intent(in) | :: | b(3) |
単位ベクトルを返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
double precision, | intent(in) | :: | a(3) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | a(3) |
ベクトルのL2ノルムの2乗を返す 組み込み関数norm2より約5倍速い(かも)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | a(3) |