Deedle


Matrix

Namespace: Deedle.Math

Matrix conversions and operators between Frame and Series

Table of contents

Conversions 

Static members

Static memberDescription
Matrix.ofFrame(df)
Signature: df:Frame<'a,'b> -> Matrix<float>
Type parameters: 'a, 'b

Convert frame to matrix

Matrix.toFrame rows cols m
Signature: rows:seq<'R> -> cols:seq<'C> -> m:Matrix<float> -> Frame<'R,'C>
Type parameters: 'R, 'C

Convert matrix to frame

Matrix multiplication 

Static members

Static memberDescription
Matrix.dot(s1, s2)
Signature: (s1:Series<'C,float> * s2:Series<'C,float>) -> float
Type parameters: 'C

series multiply series

Matrix.dot(s, df)
Signature: (s:Series<'C,float> * df:Frame<'R,'C>) -> Series<'C,float>
Type parameters: 'C, 'R

series multiply frame

Matrix.dot(df, s)
Signature: (df:Frame<'R,'C> * s:Series<'C,float>) -> Series<'C,float>
Type parameters: 'R, 'C

frame multiply series

Matrix.dot(df1, df2)
Signature: (df1:Frame<'R,'C> * df2:Frame<'C,'R>) -> Frame<'R,'R>
Type parameters: 'R, 'C

frame multiply frame

Matrix.dot(s, v)
Signature: (s:Series<'R,float> * v:Vector<float>) -> float
Type parameters: 'R

series multiply vector

Matrix.dot(v, s)
Signature: (v:Vector<float> * s:Series<'R,float>) -> float
Type parameters: 'R

vector multiply series

Matrix.dot(m, s)
Signature: (m:Matrix<float> * s:Series<'K,float>) -> Vector<float>
Type parameters: 'K

matrix multiply series

Matrix.dot(s, m)
Signature: (s:Series<'K,float> * m:Matrix<float>) -> Vector<float>
Type parameters: 'K

series multiply matrix

Matrix.dot(df, v)
Signature: (df:Frame<'R,'C> * v:Vector<float>) -> Series<'R,float>
Type parameters: 'R, 'C

frame multiply vector

Matrix.dot(v, df)
Signature: (v:Vector<float> * df:Frame<'R,'C>) -> Vector<float>
Type parameters: 'R, 'C

vector multiply frame

Matrix.dot(m, df)
Signature: (m:Matrix<float> * df:Frame<'R,'C>) -> Matrix<float>
Type parameters: 'R, 'C

matrix multiply frame

Matrix.dot(df, m2)
Signature: (df:Frame<'R,'C> * m2:Matrix<float>) -> Frame<'R,'R>
Type parameters: 'R, 'C

frame multiply matrix

Fork me on GitHub