実際にどう使われますか?
下の例文を通して、それぞれの単語がどのような状況で使われるのか学んでみましょう!
tensor
例文
The stress tensor is a mathematical representation of the distribution of forces within a material. [tensor: noun]
応力テンソルは、材料内の力の分布を数学的に表現したものです。[テンソル: 名詞]
例文
In special relativity, the energy-momentum tensor describes the distribution of energy and momentum in spacetime. [tensor: noun]
特殊相対性理論では、エネルギー - 運動量テンソルは時空におけるエネルギーと運動量の分布を表します。[テンソル: 名詞]
例文
A tensor can be thought of as a generalization of a matrix to multiple dimensions. [tensor: noun]
テンソルは、行列を多次元に一般化したものと考えることができます。[テンソル: 名詞]
array
例文
The array contains 10 integers. [array: noun]
配列には 10 個の整数が含まれています。[配列: 名詞]
例文
We need to sort the array in ascending order. [array: noun]
配列を昇順で並べ替える必要があります。[配列: 名詞]
例文
The cells in the array are arranged in rows and columns. [array: noun]
配列内のセルは、行と列に配置されます。[配列: 名詞]
追加で知っておくといいこと
どっちの方がよく使われますか?
Arrayは、特にコンピュータプログラミングとデータ分析の文脈において、日常の言語でより一般的な用語です。Tensorは、主に高度な数学と物理学で使用されるより専門的な用語です。
どっちの方がよりフォーマルですか?
Tensorはarrayよりも正式な用語であり、高度な学術的および科学的文脈での使用を反映しています。