MatrixExtension Module

Type extensions

Type extension Description

this.Column

Full Usage: this.Column

Parameters:
    n : int

Returns: Vector<'T>

Extended Type: Matrix

n : int
Returns: Vector<'T>

this.Columns

Full Usage: this.Columns

Parameters:
    i : int
    ni : int

Returns: Matrix<'T>

Extended Type: Matrix

i : int
ni : int
Returns: Matrix<'T>

this.Copy

Full Usage: this.Copy

Parameters:
    () : unit

Returns: Matrix<'T>

Extended Type: Matrix

() : unit
Returns: Matrix<'T>

this.Diagonal

Full Usage: this.Diagonal

Parameters:
    () : unit

Returns: Vector<'T>

Extended Type: Matrix

() : unit
Returns: Vector<'T>

this.Diagonal

Full Usage: this.Diagonal

Returns: Vector<'T>

Extended Type: Matrix

Returns: Vector<'T>

this.GetDiagonal

Full Usage: this.GetDiagonal

Parameters:
    i : int

Returns: Vector<'T>

Extended Type: Matrix

i : int
Returns: Vector<'T>

this.NonZeroEntries

Full Usage: this.NonZeroEntries

Parameters:
    () : unit

Returns: seq<int * int * 'T>

Extended Type: Matrix

() : unit
Returns: seq<int * int * 'T>

this.NonZeroEntries

Full Usage: this.NonZeroEntries

Returns: seq<int * int * 'T>

Extended Type: Matrix

Returns: seq<int * int * 'T>

this.Norm

Full Usage: this.Norm

Parameters:
    () : unit

Returns: float

Extended Type: Matrix

() : unit
Returns: float

this.Norm

Full Usage: this.Norm

Returns: float

Extended Type: Matrix

Returns: float

Matrix.ReadCSV(path, transformValues, ?Separator, ?RemoveHeaderRow, ?RemoveHeaderCol)

Full Usage: Matrix.ReadCSV(path, transformValues, ?Separator, ?RemoveHeaderRow, ?RemoveHeaderCol)

Parameters:
    path : string
    transformValues : string -> 'T
    ?Separator : char
    ?RemoveHeaderRow : bool
    ?RemoveHeaderCol : bool

Returns: Matrix<'T>

Reads generic matrix from file. Requires a function to transform the input strings to the desired type

Extended Type: Matrix

path : string
transformValues : string -> 'T
?Separator : char
?RemoveHeaderRow : bool
?RemoveHeaderCol : bool
Returns: Matrix<'T>

this.Region

Full Usage: this.Region

Parameters:
    i : int
    j : int
    ni : int
    nj : int

Returns: Matrix<'T>

Extended Type: Matrix

i : int
j : int
ni : int
nj : int
Returns: Matrix<'T>

this.Row

Full Usage: this.Row

Parameters:
    n : int

Returns: RowVector<'T>

Extended Type: Matrix

n : int
Returns: RowVector<'T>

this.Rows

Full Usage: this.Rows

Parameters:
    j : int
    nj : int

Returns: Matrix<'T>

Extended Type: Matrix

j : int
nj : int
Returns: Matrix<'T>

this.ToArray2

Full Usage: this.ToArray2

Parameters:
    () : unit

Returns: 'T[,]

Extended Type: Matrix

() : unit
Returns: 'T[,]

this.ToArray2D

Full Usage: this.ToArray2D

Parameters:
    () : unit

Returns: 'T[,]

Extended Type: Matrix

() : unit
Returns: 'T[,]

this.ToRowVector

Full Usage: this.ToRowVector

Parameters:
    () : unit

Returns: RowVector<'T>

Extended Type: Matrix

() : unit
Returns: RowVector<'T>

this.ToScalar

Full Usage: this.ToScalar

Parameters:
    () : unit

Returns: 'T

Extended Type: Matrix

() : unit
Returns: 'T

this.ToVector

Full Usage: this.ToVector

Parameters:
    () : unit

Returns: Vector<'T>

Extended Type: Matrix

() : unit
Returns: Vector<'T>