Divooka.Matrix

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

Version of library

Divooka.Matrix.DivookaMatrix.Description

Description of library

Divooka.Matrix.DivookaMatrix.Dependancies

Dependancies of library

Divooka.Matrix.DivookaMatrix.Data

Get raw data

Divooka.Matrix.DivookaMatrix.GetDataRow()

Get raw data row

Divooka.Matrix.DivookaMatrix.GetDataColumn()

Get raw data column

Divooka.Matrix.DivookaMatrix.Read()

Read from CSV file

Divooka.Matrix.DivookaMatrix.Print()

Print CSV representation as string

Divooka.Matrix.DivookaMatrix.Item()

Get row as Vector1D

Divooka.Matrix.DivookaMatrix.GetEnumerator

Enumerate matrix rows

Divooka.Matrix.DivookaVector

A compact representation of double[], a very core/native data type for lots of things in Divooka and The Matrix. Provides helpful operator overloads.

Remarks

Design: Syntax elegancy is more important than performance. This provides base container and operations. Data type is immutable. Tightly tied to double[]. TODO: All mutational immutable functions should be implemented as static extension methods because: 1) They don't touch instance data anyway; 2) It's more Parcel friendly!

Divooka.Matrix.DivookaVector.Range()

Divooka.Matrix.DivookaVector.#ctor

Construct empty.

Divooka.Matrix.DivookaVector.#ctor()

Construct from (copy of) values.

Divooka.Matrix.DivookaVector.#ctor()

Construct from (copy of) values.

Divooka.Matrix.DivookaVector.#ctor()

Construct from (copy of) values.

Divooka.Matrix.DivookaVector.#ctor()

Construct from (copy of) values.

Divooka.Matrix.DivookaVector.#ctor()

Construct from (copy of) values.

Divooka.Matrix.DivookaVector.#ctor()

Construct from param arguments.

Divooka.Matrix.DivookaVector.#ctor()

Construct from string, either comma delimited or space delimited.

Divooka.Matrix.DivookaVector.op_Implicit()

Implicit constructor

Divooka.Matrix.DivookaVector.op_Implicit()

Implicit converter

Remarks

Not enough to cover the case for System.Array.

Divooka.Matrix.DivookaVector.op_Implicit()

Implicit converter

Divooka.Matrix.DivookaVector.Length

Get length of vector

Divooka.Matrix.DivookaVector.Norm

Another name for length

Divooka.Matrix.DivookaVector.Size

Get string representation of size.

Divooka.Matrix.DivookaVector.ToString

ToString override

Divooka.Matrix.DivookaVector.op_UnaryPlus()

Identity (no copy is made)

Divooka.Matrix.DivookaVector.op_UnaryNegation()

Gets negative

Divooka.Matrix.DivookaVector.op_Addition()

Adds two vectors

Divooka.Matrix.DivookaVector.op_Addition()

Adds a scalar to every element

Divooka.Matrix.DivookaVector.op_Subtraction()

Subtract two vectors

Divooka.Matrix.DivookaVector.op_Subtraction()

Subtract a scalar to every element

Divooka.Matrix.DivookaVector.op_Multiply()

Multiply element-wise

Divooka.Matrix.DivookaVector.op_Multiply()

Multiply every element by a scalar

Divooka.Matrix.DivookaVector.op_Division()

Divide element-wise

Divooka.Matrix.DivookaVector.op_Division()

Multiply every element by a scalar

Divooka.Matrix.DivookaVector.op_ExclusiveOr()

Exponent element-wise

Divooka.Matrix.DivookaVector.op_BitwiseOr()

Append an element

Divooka.Matrix.DivookaVector.op_BitwiseOr()

Append an entire vector

Divooka.Matrix.DivookaVector.Copy

Make a copy

Divooka.Matrix.DivookaVector.AccumulateApply()

Applies certain operation starting from base value on top of entire vector and return the resulting vector and final value

Divooka.Matrix.DivookaVector.AccumulateApply()

Parameters

NameDescriptionDefault
function Given previous computed result and current element value, compute the next value

Divooka.Matrix.VectorConversion

Converting to and from Vector

Divooka.Matrix.VectorMath

Basic arithmetics on vector

Divooka.Matrix.VectorMath.Subtract()

Divooka.Matrix.VectorMath.Add()

Divooka.Matrix.VectorMath.Divide()

Divooka.Matrix.VectorMath.Multiply()

Divooka.Matrix.VectorMath.SqaureRoot()

Compute sqrt element-wise

Divooka.Matrix.VectorMath.AbsoluteValue()

Divooka.Matrix.VectorMath.Modulus()

Divooka.Matrix.VectorMath.Apply()

Apply element-wise arbitrary function

Divooka.Matrix.VectorMath.Cosine()

Compute cos element-wise

Divooka.Matrix.VectorMath.Cosh()

Compute cosh element-wise

Divooka.Matrix.VectorMath.Sine()

Compute sin element-wise

Divooka.Matrix.VectorMath.Sinh()

Compute sinh element-wise

Divooka.Matrix.VectorMath.Power()

Compute pow element-wise

Divooka.Matrix.VectorMath.Sqrt()

Compute sqrt element-wise

Divooka.Matrix.VectorStatistics

Statistics extensions on Vector

Divooka.Matrix.VectorStatistics.Minimum()

Get min.

Divooka.Matrix.VectorStatistics.Mean()

Get mean.

Divooka.Matrix.VectorStatistics.Average()

Get average (same as mean).

Divooka.Matrix.VectorStatistics.Maximum()

Get max.

Divooka.Matrix.VectorStatistics.Sum()

Get sum.

Divooka.Matrix.VectorStatistics.Variance()

Get variance.

Divooka.Matrix.VectorStatistics.STD()

Get std.

Divooka.Matrix.VectorStatistics.PopulationVariance()

Get population variance.

Divooka.Matrix.VectorStatistics.PopulationSTD()

Get population std.

Divooka.Matrix.VectorStatistics.Correlation()

Compute correlation

Divooka.Matrix.VectorStatistics.Covariance()

Compute covariance