/// <summary> /// Multiplies the elements of array <paramref name="value1"/> to the <paramref name="value2"/> /// </summary> /// <param name="value1">The array to multiply</param> /// <param name="value2">The number, which will be multiply to the <paramref name="value1"/> array</param> /// <param name="result">The result of multiply</param> /// <param name="length">A 32-bit integer that represents the number of elements to multiply</param> /// <param name="value1Index">A 32-bit integer that represents the index in the <paramref name="value1"/> array at which multiply begins</param> /// <param name="resultIndex">A 32-bit integer that represents the index in the <paramref name="result"/> array at which copying result begins</param> /// <remarks>If the <paramref name="result"/> array is null, operation result copying to the <paramref name="value1"/></remarks> unsafe public override void Multiply(Complex[] value1, Complex value2, Complex[] result = null, int length = int.MaxValue, int value1Index = 0, int resultIndex = 0) { Th.ThrowOneValueWithNullableResult(value1, ref result, ref length, value1Index, resultIndex); fixed(Complex *value1Ptr = value1, resultPtr = result) ComplexArrayHelper.Multiply(value1Ptr, value2, resultPtr, length, value1Index, resultIndex); }