[Home] Type Microsoft.FSharp.Math.Vector


The type of column vectors. The arithmetic operations on the element type are determined by inspection on the element type itself

Full Type Signature

type Vector<'a> = {opsV: 'a opsData;
                   arrV: 'a array;}
                  with
                    interface IFormattable
                    interface IStructuralHash
                    interface IComparable
                    override Equals : obj -> bool
                    override GetHashCode : unit -> int
                    member ( .[..] ) : start:int option * finish:int option -> Vector<'a>
                    member Permute : Permutation -> Vector<'a>
                    [<UnverifiableAttribute ()>]
                    member Pin : ('a nativeptr -> 'b) -> 'b
                    [<UnverifiableAttribute ()>]
                    member PinHandle : unit -> 'a nativeptr * GCHandle
                    member ElementOps : INumeric<'a>
                    member Item : int -> 'a with get
                    member Length : int
                    member NumRows : int
                    member Transpose : RowVector<'a>
                    static member ( + ) : Vector<'a> * Vector<'a> -> Vector<'a>
                    static member ( += ) : Vector<'a> * Vector<'a> -> unit
                    static member ( $* ) : 'a * Vector<'a> -> Vector<'a>
                    static member ( .* ) : Vector<'a> * Vector<'a> -> Vector<'a>
                    static member ( .*= ) : Vector<'a> * Vector<'a> -> unit
                    [<OverloadIDAttribute ("VectorScalarMultiply")>]
                    static member ( * ) : Vector<'a> * 'a -> Vector<'a>
                    [<OverloadIDAttribute ("VectorRowVectorMultiply")>]
                    static member ( * ) : Vector<'a> * RowVector<'a> -> Matrix<'a>
                    [<OverloadIDAttribute ("ScalarVectorMultiply")>]
                    static member ( * ) : 'a * Vector<'a> -> Vector<'a>
                    [<Obsolete ("The '*' operator can now be used instead of this operator")>]
                    static member ( *$ ) : Vector<'a> * 'a -> Vector<'a>
                    static member ( - ) : Vector<'a> * Vector<'a> -> Vector<'a>
                    static member ( -= ) : Vector<'a> * Vector<'a> -> unit
                    static member ( ~- ) : Vector<'a> -> Vector<'a>
                    static member ( ~+ ) : Vector<'a> -> Vector<'a>
                    member Item : int -> 'a with set
                  end

Instance Members

MemberDescription
member ( .[..] ) : start:int option * finish:int option -> Vector<'a>
member ElementOps : INumeric<'a>
override Equals : obj -> bool
override GetHashCode : unit -> int
member Item : int -> 'a with get
member Item : int -> 'a with set
member Length : int
member NumRows : int
member Permute : Permutation -> Vector<'a>
Permute the elements of the vector.
[<UnverifiableAttribute ()>]
member Pin : ('a nativeptr -> 'b) -> 'b
For native interop. Pin the given object for the duration of a single call to the given function. A native pointer to the (0,0) element in the underlying array is passed to the given function. Resources associated with the pin are released when the function completes, even if an exception is raised.
[<UnverifiableAttribute ()>]
member PinHandle : unit -> 'a nativeptr * GCHandle
For native interop. Pin the given object, but the caller is responsible for freeing the GCHandle
member Transpose : RowVector<'a>
Get the transpose of the vector.

Static Members

MemberDescription
member ( $* ) : 'a * Vector<'a> -> Vector<'a>
[<OverloadIDAttribute ("VectorScalarMultiply")>]
member ( * ) : Vector<'a> * 'a -> Vector<'a>
[<OverloadIDAttribute ("VectorRowVectorMultiply")>]
member ( * ) : Vector<'a> * RowVector<'a> -> Matrix<'a>
[<OverloadIDAttribute ("ScalarVectorMultiply")>]
member ( * ) : 'a * Vector<'a> -> Vector<'a>
Multiply each element of a vector by the given scalar value.
member ( + ) : Vector<'a> * Vector<'a> -> Vector<'a>
member ( += ) : Vector<'a> * Vector<'a> -> unit
member ( - ) : Vector<'a> * Vector<'a> -> Vector<'a>
member ( -= ) : Vector<'a> * Vector<'a> -> unit
member ( .* ) : Vector<'a> * Vector<'a> -> Vector<'a>
Pointwise multiplication of two vectors.
member ( .*= ) : Vector<'a> * Vector<'a> -> unit
member ( ~+ ) : Vector<'a> -> Vector<'a>
member ( ~- ) : Vector<'a> -> Vector<'a>

Deprecated Members

MemberDescription
[<Obsolete ("The '*' operator can now be used instead of this operator")>]
member ( *$ ) : Vector<'a> * 'a -> Vector<'a>

Note: The '*' operator can now be used instead of this operator

See Also

Microsoft.FSharp.Math


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19