/// <summary> /// Creates an exact copy of this <see cref="Slice"/>. /// </summary> public Slice Clone() => new Slice( numCoefficients: NumCoefficients, numData: NumData, packedCoefficients: PackedCoefficients.ToArray(), packedData: PackedData.ToArray() );
/// <summary> /// Quickly performs a bitwise XOR into this <see cref="Slice"/>'s coefficients and data from the given /// <see cref="Slice"/>. /// </summary> public void Xor( Slice from) { PackedCoefficients.Xor(@from.PackedCoefficients); PackedData.Xor(@from.PackedData); }