FSharpPlus


Matrix<'Item, 'Row, 'Column> Type

Namespace: FSharpPlus.Data

Assembly: FSharpPlus.dll

Base Type: ValueType

All Interfaces: IEquatable<Matrix<'Item, 'Row, 'Column>> , IStructuralEquatable , IComparable<Matrix<'Item, 'Row, 'Column>> , IComparable , IStructuralComparable

Kind: Struct

Record fields

Record Field Description

Items

Full Usage: Items

Instance members

Instance member Description

this.UnsafeGet(i, j)

Full Usage: this.UnsafeGet(i, j)

Parameters:
    i : int
    j : int

Returns: 'Item

i : int
j : int
Returns: 'Item

Static members

Static member Description

m1 * m2

Full Usage: m1 * m2

Parameters:
Returns: Matrix<^c, 'd, 'e>

hadamard (element-wise) product

m1 : Matrix<^a, 'd, 'e>
m2 : Matrix<^b, 'd, 'e>
Returns: Matrix<^c, 'd, 'e>

m1 + m2

Full Usage: m1 + m2

Parameters:
Returns: Matrix<^c, 'd, 'e>

m1 : Matrix<^a, 'd, 'e>
m2 : Matrix<^b, 'd, 'e>
Returns: Matrix<^c, 'd, 'e>

m1 - m2

Full Usage: m1 - m2

Parameters:
Returns: Matrix<^c, 'd, 'e>

m1 : Matrix<^a, 'd, 'e>
m2 : Matrix<^b, 'd, 'e>
Returns: Matrix<^c, 'd, 'e>

m1 / m2

Full Usage: m1 / m2

Parameters:
Returns: Matrix<^c, 'd, 'e>

m1 : Matrix<^a, 'd, 'e>
m2 : Matrix<^b, 'd, 'e>
Returns: Matrix<^c, 'd, 'e>

f <*> x

Full Usage: f <*> x

Parameters:
Returns: Matrix<'y, 'm, 'n>

f : Matrix<('x -> 'y), 'm, 'n>
x : Matrix<'x, 'm, 'n>
Returns: Matrix<'y, 'm, 'n>

m1 @* m2

Full Usage: m1 @* m2

Parameters:
Returns: Matrix<^a, ^d, ^g>

kronecker (tensor) product

m1 : Matrix<^a, ^b, ^e>
m2 : Matrix<^a, ^c, ^f>
Returns: Matrix<^a, ^d, ^g>

m1 @- m2

Full Usage: m1 @- m2

Parameters:
Returns: Matrix<'a, ^m1+^m2, ^n>

m1 : Matrix<'a, ^m1, ^n>
m2 : Matrix<'a, ^m2, ^n>
Returns: Matrix<'a, ^m1+^m2, ^n>

m1 @| m2

Full Usage: m1 @| m2

Parameters:
Returns: Matrix<'a, ^m, ^n1+^n2>

m1 : Matrix<'a, ^m, ^n1>
m2 : Matrix<'a, ^m, ^n2>
Returns: Matrix<'a, ^m, ^n1+^n2>

m1 |*| m2

Full Usage: m1 |*| m2

Parameters:
Returns: Matrix<^a, ^c, ^e>

matrix product

m1 : Matrix<^a, ^c, ^d>
m2 : Matrix<^a, ^d, ^e>
Returns: Matrix<^a, ^c, ^e>

~-m

Full Usage: ~-m

Parameters:
Returns: Matrix<^a, 'b, 'c>

m : Matrix<^a, 'b, 'c>
Returns: Matrix<^a, 'b, 'c>

Matrix.FromBigInt(i)

Full Usage: Matrix.FromBigInt(i)

Parameters:
    i : bigint

Returns: Matrix<^a, ^b, ^c>

i : bigint
Returns: Matrix<^a, ^b, ^c>

Matrix.FromInt32(i)

Full Usage: Matrix.FromInt32(i)

Parameters:
    i : int

Returns: Matrix<^a, ^b, ^c>

i : int
Returns: Matrix<^a, ^b, ^c>

Matrix.FromInt64(i)

Full Usage: Matrix.FromInt64(i)

Parameters:
    i : int64

Returns: Matrix<^a, ^b, ^c>

i : int64
Returns: Matrix<^a, ^b, ^c>

Matrix.Item(mtx, arg2)

Full Usage: Matrix.Item(mtx, arg2)

Parameters:
    mtx : Matrix<'a, ^m, ^n>
    arg1 : ^b * ^c

Returns: 'a

mtx : Matrix<'a, ^m, ^n>
arg1 : ^b * ^c
Returns: 'a

Matrix.Map(mtx, f)

Full Usage: Matrix.Map(mtx, f)

Parameters:
    mtx : Matrix<'a, 'm, 'n>
    f : 'a -> 'b

Returns: Matrix<'b, 'm, 'n>

mtx : Matrix<'a, 'm, 'n>
f : 'a -> 'b
Returns: Matrix<'b, 'm, 'n>

Matrix.Return(x)

Full Usage: Matrix.Return(x)

Parameters:
    x : 'x

Returns: Matrix<'x, ^m, ^n>

x : 'x
Returns: Matrix<'x, ^m, ^n>

Matrix.UnsafeCreate(_row, _column, items)

Full Usage: Matrix.UnsafeCreate(_row, _column, items)

Parameters:
    _row : 'm
    _column : 'n
    items : 'a[,]

Returns: Matrix<'a, 'm, 'n>

_row : 'm
_column : 'n
items : 'a[,]
Returns: Matrix<'a, 'm, 'n>

Matrix.get_Zero ()

Full Usage: Matrix.get_Zero ()

Returns: Matrix<^a, ^m, ^n>

Returns: Matrix<^a, ^m, ^n>