@@ -16,7 +16,7 @@ type Matrix< 'Item, 'Row, 'Column > = private { Items: 'Item[,] } with
1616 [<MethodImpl( MethodImplOptions.AggressiveInlining) >]
1717 static member UnsafeCreate ( _row : 'm , _column : 'n , items : _ [,]) : Matrix < _ , 'm , 'n > =
1818 { Items = items }
19- (*
19+
2020 interface System.Collections.Generic.IReadOnlyCollection< 'Item> with
2121 member this.Count = this.Items.Length
2222 member this.GetEnumerator () = this.Items.GetEnumerator()
@@ -27,7 +27,7 @@ type Matrix< 'Item, 'Row, 'Column > = private { Items: 'Item[,] } with
2727 for j = 0 to ( items |> Array2D.length2) - 1 do
2828 yield items.[ i, j]
2929 }) .GetEnumerator()
30- *)
30+
3131
3232[<Struct; StructuredFormatDisplayAttribute( " {Items}" ) >]
3333type Vector < 'Item , 'Length > = private { Items: 'Item [] } with
@@ -36,13 +36,13 @@ type Vector<'Item, 'Length> = private { Items: 'Item[] } with
3636 [<MethodImpl( MethodImplOptions.AggressiveInlining) >]
3737 static member UnsafeCreate ( _length : 'n , items : _ []) : Vector < _ , 'n > =
3838 { Items = items }
39- (*
39+
4040 interface System.Collections.Generic.IReadOnlyList< 'Item> with
4141 member this.Count = this.Items.Length
4242 member this.Item with get i = this.Items.[ i]
4343 member this.GetEnumerator () = this.Items.GetEnumerator()
4444 member this.GetEnumerator () = ( this.Items :> seq<_>) .GetEnumerator()
45- *)
45+
4646
4747module Vector =
4848 [<MethodImpl( MethodImplOptions.AggressiveInlining) >]
0 commit comments