/// <summary> /// Performs a bitwise xor operation on specified lane with specified bits. /// </summary> /// <param name="lane">The lane whose bits to xor with <paramref name="bits"/>.</param> /// <param name="bits">An enumeration of bits to xor with bits of <paramref name="lane"/>.</param> public void XorLane(Lane lane, IEnumerable <bool> bits) { LaneOperation((x, y, z, bit) => { return(this[x, y, z] ^ bit); }, lane, bits); }
/// <summary> /// Sets the bits of specified lane to specified values. /// </summary> /// <param name="lane">The lane whose bits to set.</param> /// <param name="bits">An enumeration of new values for the bits of <paramref name="lane"/>.</param> public void SetLane(Lane lane, IEnumerable <bool> bits) { LaneOperation((x, y, z, bit) => { return(bit); }, lane, bits); }