|
-
v1
:
Vector<'a, ^m>
-
v2
:
Vector<'b, ^n>
-
Returns:
Vector<('a * 'b), 'm*'n>
|
|
-
v1
:
Vector<'a, ^n1>
-
v2
:
Vector<'a, ^n2>
-
Returns:
Vector<'a, ^n1+^n2>
|
|
-
f
:
Vector<('a -> 'b), 'n>
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'b, 'n>
|
|
You can also use `Vector.ChunkBySize.Invoke v`.
-
n
:
^n
-
v
:
Vector<'a, ^k*'n>
-
Returns:
Vector<Vector<'a, ^n>, ^k>
|
|
-
vv
:
Vector<Vector<'a, ^m>, ^n>
-
Returns:
Vector<'a, 'm*'n>
|
|
-
definition
:
^a*'a*..*'a
-
Returns:
Vector<'a, 'n>
|
|
-
v1
:
Vector<^a, ^m>
-
v2
:
Vector<^a, ^n>
-
Returns:
Matrix<^a, ^m, ^n>
|
|
-
Returns:
Vector<'a, Z>
|
|
-
p
:
'a -> bool
-
v
:
Vector<'a, 'n>
-
Returns:
bool
|
|
-
p
:
'a -> 'b -> bool
-
v1
:
Vector<'a, 'n>
-
v2
:
Vector<'b, 'n>
-
Returns:
bool
|
|
-
f
:
'State -> 'a -> 'State
-
state
:
'State
-
v
:
Vector<'a, 'n>
-
Returns:
'State
|
|
-
f
:
'State -> 'a -> 'b -> 'State
-
state
:
'State
-
v1
:
Vector<'a, 'n>
-
v2
:
Vector<'b, 'n>
-
Returns:
'State
|
|
-
f
:
'a -> 'State -> 'State
-
v
:
Vector<'a, 'n>
-
state
:
'State
-
Returns:
'State
|
|
-
f
:
'a -> 'b -> 'State -> 'State
-
v1
:
Vector<'a, 'n>
-
v2
:
Vector<'b, 'n>
-
state
:
'State
-
Returns:
'State
|
|
-
p
:
'a -> bool
-
v
:
Vector<'a, 'n>
-
Returns:
bool
|
|
-
p
:
'a -> 'b -> bool
-
v1
:
Vector<'a, 'n>
-
v2
:
Vector<'b, 'n>
-
Returns:
bool
|
|
You can also use `Vector.Get.Invoke vec`.
-
index
:
^iwhen^i<^n
-
vec
:
Vector<'a, ^n>
-
Returns:
'a
|
|
-
v
:
Vector<'a, S<'b>>
-
Returns:
'a
|
|
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<(int * 'a), 'n>
|
|
You can also use `Vector.Init.Invoke f`.
-
n
:
^n
-
f
:
int -> 'a
-
Returns:
Vector<'a, ^n>
|
|
-
v1
:
Vector<^a, S<'n>>
-
v2
:
Vector<^b, S<'n>>
-
Returns:
^c
|
|
-
f
:
'a -> unit
-
vec
:
Vector<'a, 'n>
|
|
-
f
:
'a -> 'b -> unit
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
|
|
-
f
:
int -> 'a -> 'b -> unit
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
|
|
-
v
:
Vector<'a, S<'b>>
-
Returns:
'a
|
|
-
arg0
:
Vector<'a, ^n>
-
Returns:
^n
|
|
-
arg0
:
Vector<'a, ^n>
-
Returns:
int
|
|
-
f
:
'a -> 'b
-
vec
:
Vector<'a, 'n>
-
Returns:
Vector<'b, 'n>
|
|
-
f
:
'a -> 'b -> 'c
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
-
Returns:
Vector<'c, 'n>
|
|
-
f
:
'a -> 'b -> 'c -> 'd
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
-
vec3
:
Vector<'c, 'n>
-
Returns:
Vector<'d, 'n>
|
|
-
f
:
'State -> 'a -> 'b * 'State
-
state
:
'State
-
v
:
Vector<'a, ^n>
-
Returns:
Vector<'b, ^n> * 'State
|
|
-
f
:
'a -> 'State -> 'b * 'State
-
v
:
Vector<'a, ^n>
-
state
:
'State
-
Returns:
Vector<'b, ^n> * 'State
|
|
-
f
:
int -> 'a -> 'b
-
vec
:
Vector<'a, 'n>
-
Returns:
Vector<'b, 'n>
|
|
-
f
:
int -> 'a -> 'b -> 'c
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
-
Returns:
Vector<'c, 'n>
|
|
-
v
:
Vector<^a, ^n>
-
Returns:
^a
|
|
-
v
:
Vector<^a, ^n>
-
Returns:
^a
|
|
-
v
:
Vector<^a, ^n>
-
Returns:
Vector<^a, ^n>
|
|
-
p
:
^a
-
v
:
Vector<^a, ^n>
-
Returns:
^a
|
|
-
v
:
Vector<'a, ^n>
-
Returns:
Vector<('a * 'a), 'n-1>
|
|
-
f
:
int -> int
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
You can also use `Vector.Replicate.Invoke value`.
-
n
:
^n
-
value
:
'a
-
Returns:
Vector<'a, ^n>
|
|
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
-
x
:
'a
-
Returns:
Vector<'a, S<Z>>
|
|
You can also use `Vector.Skip.Invoke v`.
-
n
:
^nwhen'n<='m
-
v
:
Vector<'a, ^m>
-
Returns:
Vector<'a, ^m-'n>
|
|
You can also use `Vector.Slice.Invoke v`.
-
startIndex
:
^iwhen^i<^n
-
endIndex
:
^jwhen^i<=^j<^n
-
v
:
Vector<'a, ^n>
-
Returns:
Vector<'a, S<^j-^i>>
|
|
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
-
f
:
'a -> 'b
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
-
f
:
'a -> 'b
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
-
f
:
'a -> 'a -> int
-
v
:
Vector<'a, 'n>
-
Returns:
Vector<'a, 'n>
|
|
You can also use `Vector.SplitInto.Invoke v`.
-
n
:
^n
-
v
:
Vector<'a, ^n*'k>
-
Returns:
Vector<Vector<'a, ^k>, ^n>
|
|
-
v
:
Vector<'a, S<'n>>
-
Returns:
Vector<'a, 'n>
|
|
You can also use `Vector.Take.Invoke v`.
-
n
:
^n
-
v
:
Vector<'a, ^mwhen'm>='n>
-
Returns:
Vector<'a, ^n>
|
|
-
vec
:
Vector<'a, 'n>
-
Returns:
'a[]
|
|
-
v
:
Vector<'a, 'n>
-
Returns:
Matrix<'a, 'n, S<Z>>
|
|
-
vec
:
Vector<'a, 'n>
-
Returns:
'a list
|
|
-
v
:
Vector<'a, 'n>
-
Returns:
Matrix<'a, S<Z>, 'n>
|
|
-
vec
:
Vector<'a, 'n>
-
Returns:
seq<'a>
|
|
Tries to create a vector of length `n`.
If the length of `xs` does not match, it will return `None`.
Otherwise, it will return the vector with `Some`.
You can also use `Vector.TryCreate.OfArray xs`.
-
length
:
^n
-
xs
:
'a[]
-
Returns:
Vector<'a, ^n> option
|
|
Tries to create a vector of length `n`.
If the length of `xs` does not match, it will return `None`.
Otherwise, it will return the vector with `Some`.
You can also use `Vector.TryCreate.OfList xs`.
-
length
:
^n
-
xs
:
'a list
-
Returns:
Vector<'a, ^n> option
|
|
Tries to create a vector of length `n`.
If the length of `xs` does not match, it will return `None`.
Otherwise, it will return the vector with `Some`.
You can also use `Vector.TryCreate.OfSeq xs`.
-
length
:
^n
-
xs
:
seq<'a>
-
Returns:
Vector<'a, ^n> option
|
|
-
_length
:
'n
-
xs
:
'a[]
-
Returns:
Vector<'a, 'n>
|
|
-
index
:
int
-
vec
:
Vector<'a, 'n>
-
Returns:
'a
|
|
-
vec
:
Vector<('a * 'b), 'n>
-
Returns:
Vector<'a, 'n> * Vector<'b, 'n>
|
|
-
vec
:
Vector<('a * 'b * 'c), 'n>
-
Returns:
Vector<'a, 'n> * Vector<'b, 'n> * Vector<'c, 'n>
|
|
-
v1
:
Vector<^a, S<S<S<Z>>>>
-
v2
:
Vector<^b, S<S<S<Z>>>>
-
Returns:
Vector<^d, S<S<S<Z>>>>
|
|
You can also use `Vector.Windowed.Invoke v`.
-
m
:
^m
-
v
:
Vector<'a, ^n>
-
Returns:
Vector<Vector<'a, ^m>, S<'n-'m>>
|
|
-
Returns:
Vector<^a, ^m>
|
|
You can also use `Vector.ZeroCreate.Invoke()`.
-
n
:
^n
-
Returns:
Vector<'a, ^n>
|
|
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
-
Returns:
Vector<('a * 'b), 'n>
|
|
-
vec1
:
Vector<'a, 'n>
-
vec2
:
Vector<'b, 'n>
-
vec3
:
Vector<'c, 'n>
-
Returns:
Vector<('a * 'b * 'c), 'n>
|