线性代数
可用向量和矩阵
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.