線性代數
可用向量和矩陣
3 個類別,共 66 個節點
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 支援等級
- 第 2 級(擬定)
- 所屬包
- 數值計算
數值計算
向量、矩陣與張量,以及按分佈取樣。
向量
向量Construct empty.包含Whether any element is exactly equal to Item; see DivookaTensor1D.IndexOf for what exact means.複製Make a copy複製到陣列Copies every element into Array, starting at Array Index.項數The number of elements; the same as DivookaTensor1D.Length.索引The positions of the elements as numbers, 0, 1, 2 and so on, one per element; handy as the x values when plotting the vector.項The element at Index, counting from zero.長度Get length of vector大小Get string representation of size.取得列舉器Goes through the elements in order.取得預覽陣列The elements as an array, for the preview display; this is the vector's own storage, not a copy.取得預覽文字The elements as text for the preview display, one per line, written in the current culture's number format.項的索引The position of the first element equal to Item, counting from zero.範數Another name for length平移Moves every element along by Offset positions, giving a new vector of the same length; the original is unchanged.轉為陣列Defensive copy轉為文字ToString override累積應用Applies certain operation starting from base value on top of entire vector and return the resulting vector and final value加法運算Adds two vectors按位或運算Append an element除法運算Divide element-wise異或運算Exponent element-wise向量乘法運算Multiply element-wise減法運算Subtract two vectors取負運算Gets negative取正運算Identity (no copy is made)
向量運算
絕對值應用函數Apply element-wise arbitrary function反餘弦反正弦平均值Get average (same as mean).相關係數Compute correlation雙曲餘弦Compute cosh element-wise餘弦Compute cos element-wise協方差Compute covariance常用對數以 2 為底的對數最大值Get max.均值Get mean.最小值Get min.取模總體標準差Get population std.總體方差Get population variance.冪運算Compute pow element-wise等差範圍儲存為 CSV 檔案正弦Compute sin element-wise雙曲正弦Compute sinh element-wise平方根Compute sqrt element-wise平方根(Sqrt)Compute sqrt element-wise標準差標準差(Std)Get std.求和Get sum.正切轉為向量建立向量Construct from string, either comma delimited or space delimited.方差Get variance.