Exemple #1
0
 /// <summary>
 /// Copy the values from src, starting at slot index and advancing index, into this vector.
 /// </summary>
 /// <param name="src">The source array</param>
 /// <param name="index">The starting index in the source array</param>
 public void CopyFrom(Float[] src, ref int index)
 {
     Contracts.AssertValue(src);
     Contracts.Assert(0 <= index && index <= src.Length - _size);
     _items.CopyFrom(src.AsSpan(index, _size));
     index += _size;
 }