Semagle.Framework


Vector

Namespace: Semagle.Numerics.Vectors
Attributes:
[<AbstractClass>]

Vector abstract class

Constructors

ConstructorDescription
new()
Signature: unit -> Vector

CompiledName: .ctor

Instance members

Instance memberDescription
x.AsDense
Signature: DenseVector
Modifiers: abstract

Returns dense vector representation

CompiledName: get_AsDense

x.AsSparse
Signature: SparseVector
Modifiers: abstract

Returns sparse vector representation

CompiledName: get_AsSparse

x.Dimensions
Signature: int
Modifiers: abstract

Returns the number of the vector dimensions

CompiledName: get_Dimensions

x.SumBy(arg1)
Signature: ((int -> float32 -> float32)) -> float32
Modifiers: abstract

Returns the sum of the results generated by applying the function to each element index and value

Fork me on GitHub