Divooka.Matrix.zh
Divooka.Matrix.DivookaMatrix
Main definition of the Matrix type
Divooka.Matrix.DivookaMatrix.Status
Status of library
Divooka.Matrix.DivookaMatrix.Name
Name of library
Divooka.Matrix.DivookaMatrix.Version
版本库
Divooka.Matrix.DivookaMatrix.Description
Description of library
Divooka.Matrix.DivookaMatrix.Dependancies
Dependancies of library
Divooka.Matrix.DivookaMatrix.Data
获取原始数据
Divooka.Matrix.DivookaMatrix.GetDataRow()
获取原始数据行
Divooka.Matrix.DivookaMatrix.GetDataColumn()
获取原始数据列
Divooka.Matrix.DivookaMatrix.Read()
从CSV文件读取
Divooka.Matrix.DivookaMatrix.Print()
打印CSV表示为字符串
Divooka.Matrix.DivookaMatrix.Item()
获取行作为 Vector1D
Divooka.Matrix.DivookaMatrix.GetEnumerator
Enumerate matrix rows
Divooka.Matrix.DivookaVector
附加操作
Remarks
设计:语法优雅性比性能更重要。
这提供了基本容器和操作。
数据类型是不可变的。
与 double[] 紧密相关。
TODO:所有可变的不可变函数应该作为静态扩展方法实现,因为:1)它们根本不触碰实例数据;2)这更有利于Parcel!
Divooka.Matrix.DivookaVector.Range()
Divooka.Matrix.DivookaVector.#ctor
Construct empty.
Divooka.Matrix.DivookaVector.#ctor()
从值(副本)构造。
Divooka.Matrix.DivookaVector.#ctor()
从(复制的)值构造。
Divooka.Matrix.DivookaVector.#ctor()
由值(的复制)构造。
Divooka.Matrix.DivookaVector.#ctor()
从值的(复制)构造。
Divooka.Matrix.DivookaVector.#ctor()
从(复制的)值构造。
Divooka.Matrix.DivookaVector.#ctor()
从参数构造。
Divooka.Matrix.DivookaVector.#ctor()
Construct from string, either comma delimited or space delimited.
Divooka.Matrix.DivookaVector.op_Implicit()
隐式构造函数
Divooka.Matrix.DivookaVector.op_Implicit()
隐式转换器
Divooka.Matrix.DivookaVector.Length
获取向量的长度
Divooka.Matrix.DivookaVector.Norm
另一个表示长度的名称
Divooka.Matrix.DivookaVector.Size
获取大小的字符串表示形式。
Divooka.Matrix.DivookaVector.ToString
ToString override
Divooka.Matrix.DivookaVector.op_UnaryPlus()
取单位(不进行复制)
Divooka.Matrix.DivookaVector.op_UnaryNegation()
获取负值
Divooka.Matrix.DivookaVector.op_Addition()
Adds two vectors
Divooka.Matrix.DivookaVector.op_Addition()
将标量添加到每个元素
Divooka.Matrix.DivookaVector.op_Subtraction()
Subtract two vectors
返回值
返回结果
Divooka.Matrix.DivookaVector.op_Subtraction()
从每个元素中减去一个标量
Divooka.Matrix.DivookaVector.op_Multiply()
按元素相乘
Divooka.Matrix.DivookaVector.op_Multiply()
将每个元素乘以一个标量
Divooka.Matrix.DivookaVector.op_Division()
按元素除法
Divooka.Matrix.DivookaVector.op_Division()
通过标量乘以每个元素
Divooka.Matrix.DivookaVector.op_ExclusiveOr()
按元素指数
Divooka.Matrix.DivookaVector.op_BitwiseOr()
附加一个元素
Divooka.Matrix.DivookaVector.op_BitwiseOr()
追加整个向量
Divooka.Matrix.DivookaVector.Copy
Make a copy
Divooka.Matrix.DivookaVector.AccumulateApply()
从基值开始在整个向量上应用某种操作,并返回结果向量和最终值
Divooka.Matrix.DivookaVector.AccumulateApply()
Parameters
| Name | Description | Default |
|---|---|---|
function |
给定上一个计算结果和当前元素值,计算下一个值 |
Divooka.Matrix.VectorConversion
Converting to and from Vector
Divooka.Matrix.VectorMath
基本向量算术运算
Divooka.Matrix.VectorMath.Subtract()
Divooka.Matrix.VectorMath.Add()
Divooka.Matrix.VectorMath.Divide()
Divooka.Matrix.VectorMath.Multiply()
Divooka.Matrix.VectorMath.SqaureRoot()
逐元素计算平方根
Divooka.Matrix.VectorMath.AbsoluteValue()
Divooka.Matrix.VectorMath.Modulus()
Divooka.Matrix.VectorMath.Apply()
应用逐元素任意函数
Divooka.Matrix.VectorMath.Cosine()
逐元素计算余弦
Divooka.Matrix.VectorMath.Cosh()
逐元素计算 cosh
Divooka.Matrix.VectorMath.Sine()
逐元素计算正弦
Divooka.Matrix.VectorMath.Sinh()
逐元素计算sinh
Divooka.Matrix.VectorMath.Power()
逐元素计算幂
Divooka.Matrix.VectorMath.Sqrt()
逐元素计算平方根
Divooka.Matrix.VectorStatistics
Statistics extensions on Vector
Divooka.Matrix.VectorStatistics.Minimum()
Get min.
Divooka.Matrix.VectorStatistics.Mean()
获取平均值。
Divooka.Matrix.VectorStatistics.Average()
获取平均值(与均值相同)。
Divooka.Matrix.VectorStatistics.Maximum()
获取最大值。
Divooka.Matrix.VectorStatistics.Sum()
获取总和。
Divooka.Matrix.VectorStatistics.Variance()
Get variance.
Divooka.Matrix.VectorStatistics.STD()
获取标准差。
Divooka.Matrix.VectorStatistics.PopulationVariance()
获取总体方差。
Divooka.Matrix.VectorStatistics.PopulationSTD()
获取总体标准差。
Divooka.Matrix.VectorStatistics.Correlation()
计算相关性
Divooka.Matrix.VectorStatistics.Covariance()
计算协方差