RowVector Module

Nested modules

Modules Description

Generic

Functions and values

Function or value Description

copy x

Full Usage: copy x

Parameters:
Returns: rowvec
x : RowVector<float>
Returns: rowvec

create m f

Full Usage: create m f

Parameters:
    m : int
    f : float

Returns: rowvec
m : int
f : float
Returns: rowvec

get a i

Full Usage: get a i

Parameters:
Returns: float
a : rowvec
i : int
Returns: float

init m f

Full Usage: init m f

Parameters:
    m : int
    f : int -> float

Returns: rowvec
m : int
f : int -> float
Returns: rowvec

length a

Full Usage: length a

Parameters:
Returns: int
a : rowvec
Returns: int

map mapping rowvec

Full Usage: map mapping rowvec

Parameters:
    mapping : float -> float -
    rowvec : rowvec -

Returns: RowVector<float>

Builds a new rowvector whose elements are the results of applying the given function to each of the elements of the rowvector.

mapping : float -> float

rowvec : rowvec

Returns: RowVector<float>

Example

ncols a

Full Usage: ncols a

Parameters:
Returns: int
a : rowvec
Returns: int

ofArray arr

Full Usage: ofArray arr

Parameters:
    arr : float[]

Returns: rowvec
arr : float[]
Returns: rowvec

ofList x

Full Usage: ofList x

Parameters:
    x : float list

Returns: rowvec
x : float list
Returns: rowvec

ofSeq x

Full Usage: ofSeq x

Parameters:
    x : seq<float>

Returns: rowvec
x : seq<float>
Returns: rowvec

set a i x

Full Usage: set a i x

Parameters:
    a : rowvec
    i : int
    x : float

a : rowvec
i : int
x : float

toArray m

Full Usage: toArray m

Parameters:
Returns: float[]
m : rowvec
Returns: float[]

transpose x

Full Usage: transpose x

Parameters:
Returns: vector
x : RowVector<float>
Returns: vector

zero n

Full Usage: zero n

Parameters:
    n : int

Returns: rowvec
n : int
Returns: rowvec