anchor.diff:                  invalidArg "count" "The number of elements to initialize cannot be negative."
   
               Array.Parallel.init count initializer
  +            |> vector.UnsafeCreate
  +
  +        /// <summary>Build a new vector whose elements are the results of applying the given function
  +        /// to each of the elements of the vector.</summary>
  +        ///
  +        /// <remarks>Performs the operation in parallel using System.Threading.Parallel.For.
  +        /// The order in which the given function is applied to elements of the input vector is not specified.</remarks>
  +        /// <param name="mapping"></param>
  +        /// <param name="vec">The input vector.</param>
  +        /// <returns>The vector of transformed elements.</returns>
  +        [<CompiledName("Map")>]
  +        let map (mapping : 'T -> 'U) (vec : vector<'T>) : vector<'U> =
  +            // Preconditions
  +            checkInitialized "vec" vec
  +
  +            vec.Elements
  +            |> Array.Parallel.map mapping
  +            |> vector.UnsafeCreate
  +
  +        /// <summary>Build a new vector whose elements are the results of applying the given function
  +        /// to each of the elements of the vector. The integer index passed to the
  +        /// function indicates the index of element being transformed.</summary>
  +        ///
  +        /// <remarks>Performs the operation in parallel using System.Threading.Parallel.For.
  +        /// The order in which the given function is applied to elements of the input vector is not specified.</remarks>
  +        /// <param name="mapping"></param>
  +        /// <param name="vec">The input vector.</param>
  +        /// <returns>The vector of transformed elements.</returns>
  +        [<CompiledName("MapIndexed")>]
  +        let mapi (mapping : int -> 'T -> 'U) (vec : vector<'T>) : vector<'U> =
  +            // Preconditions
  +            checkInitialized "vec" vec
  +
  +            vec.Elements
  +            |> Array.Parallel.mapi mapping
               |> vector.UnsafeCreate
   
           /// <summary>Split the collection into two collections, containing the 
  
positive.code:             Array.map mapping vec.Elements
              |> ExtCore.vector.UnsafeCreate
  
      //
      [<CompiledName("Map2")>]
      let map2 (mapping : 'T1 -> 'T2 -> 'U) (vector1 : vector<'T1>) (vector2 : vector<'T2>) : vector<'U> =
          // Preconditions
  
negative.code:                 | Choice2Of2 value ->
                      resultList2.Add value)
  
              // Convert the ResizeArrays to vectors and return them.
              resultList1.ToArray () |> vector.UnsafeCreate,
              resultList2.ToArray () |> vector.UnsafeCreate
  
  