|
314 | 314 | <altmember cref="M:System.Math.Acos(System.Double)" /> |
315 | 315 | </Docs> |
316 | 316 | </Member> |
| 317 | + <MemberGroup MemberName="Add"> |
| 318 | + <Docs> |
| 319 | + <summary>Adds a specified number to another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary> |
| 320 | + <remarks> |
| 321 | + <format type="text/markdown"><] |
| 337 | + [!code-vb[System.Numerics.Complex.Add#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb#1)] |
| 338 | + ]]></format> |
| 339 | + </remarks> |
| 340 | + </Docs> |
| 341 | + </MemberGroup> |
317 | 342 | <Member MemberName="Add"> |
318 | 343 | <MemberSignature Language="C#" Value="public static System.Numerics.Complex Add (double left, System.Numerics.Complex right);" /> |
319 | 344 | <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Numerics.Complex Add(float64 left, valuetype System.Numerics.Complex right) cil managed" /> |
|
340 | 365 | <Parameter Name="right" Type="System.Numerics.Complex" Index="1" FrameworkAlternate="netcore-3.0" /> |
341 | 366 | </Parameters> |
342 | 367 | <Docs> |
343 | | - <param name="left">To be added.</param> |
344 | | - <param name="right">To be added.</param> |
345 | | - <summary>To be added.</summary> |
346 | | - <returns>To be added.</returns> |
347 | | - <remarks>To be added.</remarks> |
| 368 | + <param name="left">The double-precision real value to add.</param> |
| 369 | + <param name="right">The complex value to add.</param> |
| 370 | + <summary>Adds a double-precision real number to a complex number and returns the result.</summary> |
| 371 | + <returns>The sum of <paramref name="left" /> and <paramref name="right" />.</returns> |
| 372 | + <remarks> |
| 373 | + <format type="text/markdown"><![CDATA[ |
| 374 | +## Remarks |
| 375 | +The addition of a real number (which can be regarded as the complex number a + 0i) and a complex number (c + di) takes the following form: |
| 376 | +
|
| 377 | +(a + c) + di |
| 378 | + ]]></format> |
| 379 | + </remarks> |
| 380 | + <altmember cref="M:System.Numerics.Complex.op_Addition(System.Double,System.Numerics.Complex)" /> |
348 | 381 | </Docs> |
349 | 382 | </Member> |
350 | 383 | <Member MemberName="Add"> |
|
373 | 406 | <Parameter Name="right" Type="System.Double" Index="1" FrameworkAlternate="netcore-3.0" /> |
374 | 407 | </Parameters> |
375 | 408 | <Docs> |
376 | | - <param name="left">To be added.</param> |
377 | | - <param name="right">To be added.</param> |
378 | | - <summary>To be added.</summary> |
379 | | - <returns>To be added.</returns> |
380 | | - <remarks>To be added.</remarks> |
| 409 | + <param name="left">The complex value to add.</param> |
| 410 | + <param name="right">The double-precision real value to add.</param> |
| 411 | + <summary>Adds a complex number to a double-precision real number and returns the result.</summary> |
| 412 | + <returns>The sum of <paramref name="left" /> and <paramref name="right" />.</returns> |
| 413 | + <remarks> |
| 414 | + <format type="text/markdown"><![CDATA[ |
| 415 | +## Remarks |
| 416 | +The addition of a complex number (a + bi) and a real number (which can be regarded as the complex number c + 0i) takes the following form: |
| 417 | +
|
| 418 | +(a + c) + bi |
| 419 | + ]]></format> |
| 420 | + </remarks> |
| 421 | + <altmember cref="M:System.Numerics.Complex.op_Addition(System.Numerics.Complex,System.Double)" /> |
381 | 422 | </Docs> |
382 | 423 | </Member> |
383 | 424 | <Member MemberName="Add"> |
|
428 | 469 | The addition of a complex number, a + bi, and a second complex number, c + di, takes the following form: |
429 | 470 | |
430 | 471 | (a + c) + (b + d)i. |
431 | | - |
432 | | - If the method call results in an overflow in either the real or imaginary component, the value of the component is either <xref:System.Double.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Double.NegativeInfinity?displayProperty=nameWithType>. |
433 | | - |
434 | | - Languages that do not support custom operators can use the <xref:System.Numerics.Complex.Add%2A> method to perform addition with complex numbers. |
435 | | - |
436 | | - |
437 | | - |
438 | | -## Examples |
439 | | - The following example illustrates addition with complex numbers. |
440 | | - |
441 | | - [!code-csharp[System.Numerics.Complex.Add#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.numerics.complex.add/cs/add1.cs#1)] |
442 | | - [!code-vb[System.Numerics.Complex.Add#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.add/vb/add1.vb#1)] |
| 472 | +
|
443 | 473 | |
444 | 474 | ]]></format> |
445 | 475 | </remarks> |
|
721 | 751 | <altmember cref="M:System.Math.Cosh(System.Double)" /> |
722 | 752 | </Docs> |
723 | 753 | </Member> |
| 754 | + <MemberGroup MemberName="Divide"> |
| 755 | + <Docs> |
| 756 | + <summary>Divides a specified number by another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary> |
| 757 | + <remarks> |
| 758 | + <format type="text/markdown"><] |
| 773 | + [!code-vb[System.Numerics.Complex.Divide#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb#1)] |
| 774 | + |
| 775 | + ]]></format> |
| 776 | + </remarks> |
| 777 | + </Docs> |
| 778 | + </MemberGroup> |
724 | 779 | <Member MemberName="Divide"> |
725 | 780 | <MemberSignature Language="C#" Value="public static System.Numerics.Complex Divide (double dividend, System.Numerics.Complex divisor);" /> |
726 | 781 | <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Numerics.Complex Divide(float64 dividend, valuetype System.Numerics.Complex divisor) cil managed" /> |
|
747 | 802 | <Parameter Name="divisor" Type="System.Numerics.Complex" Index="1" FrameworkAlternate="netcore-3.0" /> |
748 | 803 | </Parameters> |
749 | 804 | <Docs> |
750 | | - <param name="dividend">To be added.</param> |
751 | | - <param name="divisor">To be added.</param> |
752 | | - <summary>To be added.</summary> |
753 | | - <returns>To be added.</returns> |
754 | | - <remarks>To be added.</remarks> |
| 805 | + <param name="dividend">The double-precision real number to be divided.</param> |
| 806 | + <param name="divisor">The complex number to divide by.</param> |
| 807 | + <summary>Divides one double-precision real number by a complex number and returns the result.</summary> |
| 808 | + <returns>The quotient of the division.</returns> |
| 809 | + <remarks> |
| 810 | + <format type="text/markdown"><![CDATA[ |
| 811 | +
|
| 812 | +## Remarks |
| 813 | +
|
| 814 | + The division of a real number (which can be regarded as the complex number a + 0i) and a complex number (c + di) takes the following form: |
| 815 | +
|
| 816 | + (ac / (c<sup>2</sup> + d<sup>2</sup>)) + (ad / (c<sup>2</sup> + d<sup>2</sup>)i |
| 817 | +
|
| 818 | + ]]></format> |
| 819 | + </remarks> |
| 820 | + <altmember cref="M:System.Numerics.Complex.op_Division(System.Double,System.Numerics.Complex)" /> |
755 | 821 | </Docs> |
756 | 822 | </Member> |
757 | 823 | <Member MemberName="Divide"> |
|
780 | 846 | <Parameter Name="divisor" Type="System.Double" Index="1" FrameworkAlternate="netcore-3.0" /> |
781 | 847 | </Parameters> |
782 | 848 | <Docs> |
783 | | - <param name="dividend">To be added.</param> |
784 | | - <param name="divisor">To be added.</param> |
785 | | - <summary>To be added.</summary> |
786 | | - <returns>To be added.</returns> |
787 | | - <remarks>To be added.</remarks> |
| 849 | + <param name="dividend">The complex number to be divided.</param> |
| 850 | + <param name="divisor">The double-precision real number to divide by.</param> |
| 851 | + <summary>Divides one complex number by a double-precision real number and returns the result.</summary> |
| 852 | + <returns>The quotient of the division.</returns> |
| 853 | + <remarks> |
| 854 | + <format type="text/markdown"><![CDATA[ |
| 855 | +
|
| 856 | +## Remarks |
| 857 | +
|
| 858 | + The division of a complex number (a + bi) and a real number (which can be regarded as the complex number c + 0i) takes the following form: |
| 859 | +
|
| 860 | + (ac / c<sup>2</sup>) + (bc / c<sup>2</sup>)i |
| 861 | +
|
| 862 | + ]]></format> |
| 863 | + </remarks> |
| 864 | + <altmember cref="M:System.Numerics.Complex.op_Division(System.Numerics.Complex,System.Double)" /> |
788 | 865 | </Docs> |
789 | 866 | </Member> |
790 | 867 | <Member MemberName="Divide"> |
|
835 | 912 | The division of a complex number, a + bi, by a second complex number, number, c + di, takes the following form: |
836 | 913 | |
837 | 914 | ((ac + bd) / (c<sup>2</sup> + d<sup>2</sup>)) + ((bc - ad) / (c<sup>2</sup> + d<sup>2</sup>)i |
838 | | - |
839 | | - If the calculation of the quotient results in an overflow in either the real or imaginary component, the value of that component is either <xref:System.Double.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Double.NegativeInfinity?displayProperty=nameWithType>. |
840 | | - |
841 | | - The <xref:System.Numerics.Complex.Divide%2A> method can be used by languages that do not support custom operators. Its behavior is identical to division using the division operator. |
842 | | - |
843 | | - |
844 | | - |
845 | | -## Examples |
846 | | - The following example divides a complex number by each element in an array of complex numbers. |
847 | | - |
848 | | - [!code-csharp[System.Numerics.Complex.Divide#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.numerics.complex.divide/cs/divide1.cs#1)] |
849 | | - [!code-vb[System.Numerics.Complex.Divide#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.divide/vb/divide1.vb#1)] |
850 | | - |
| 915 | + |
851 | 916 | ]]></format> |
852 | 917 | </remarks> |
853 | 918 | <altmember cref="M:System.Numerics.Complex.op_Division(System.Numerics.Complex,System.Numerics.Complex)" /> |
|
1261 | 1326 | <ReturnType>System.Numerics.Complex</ReturnType> |
1262 | 1327 | </ReturnValue> |
1263 | 1328 | <Docs> |
1264 | | - <summary>To be added.</summary> |
| 1329 | + <summary>Represents infinity as a complex number.</summary> |
1265 | 1330 | <remarks>To be added.</remarks> |
1266 | 1331 | </Docs> |
1267 | 1332 | </Member> |
|
1290 | 1355 | <Parameter Name="value" Type="System.Numerics.Complex" Index="0" FrameworkAlternate="netcore-3.0" /> |
1291 | 1356 | </Parameters> |
1292 | 1357 | <Docs> |
1293 | | - <param name="value">To be added.</param> |
1294 | | - <summary>To be added.</summary> |
1295 | | - <returns>To be added.</returns> |
| 1358 | + <param name="value">A complex number.</param> |
| 1359 | + <summary>Determines whether the specified complex number is finite.</summary> |
| 1360 | + <returns><see langword="true" /> if both, the real and imaginary parts are finite (zero, subnormal or normal); otherwise, <see langword="false" />.</returns> |
1296 | 1361 | <remarks>To be added.</remarks> |
1297 | 1362 | </Docs> |
1298 | 1363 | </Member> |
|
1321 | 1386 | <Parameter Name="value" Type="System.Numerics.Complex" Index="0" FrameworkAlternate="netcore-3.0" /> |
1322 | 1387 | </Parameters> |
1323 | 1388 | <Docs> |
1324 | | - <param name="value">To be added.</param> |
1325 | | - <summary>To be added.</summary> |
1326 | | - <returns>To be added.</returns> |
| 1389 | + <param name="value">A complex number.</param> |
| 1390 | + <summary>Returns a value indicating whether the specified complex number evaluates to infinity.</summary> |
| 1391 | + <returns><see langword="true"/> if either, the real or imaginary part are <see cref="F:System.Double.PositiveInfinity" /> or <see cref="F:System.Double.NegativeInfinity" />; otherwise, <see langword="false"/>.</returns> |
1327 | 1392 | <remarks>To be added.</remarks> |
1328 | 1393 | </Docs> |
1329 | 1394 | </Member> |
|
1352 | 1417 | <Parameter Name="value" Type="System.Numerics.Complex" Index="0" FrameworkAlternate="netcore-3.0" /> |
1353 | 1418 | </Parameters> |
1354 | 1419 | <Docs> |
1355 | | - <param name="value">To be added.</param> |
1356 | | - <summary>To be added.</summary> |
1357 | | - <returns>To be added.</returns> |
| 1420 | + <param name="value">A complex number.</param> |
| 1421 | + <summary>Returns a value that indicates whether the specified complex instance is not a number (NaN).</summary> |
| 1422 | + <returns><see langword="true"/> if the specified value is not finite nor infinite; otherwise, <see langword="false"/>.</returns> |
1358 | 1423 | <remarks>To be added.</remarks> |
1359 | 1424 | </Docs> |
1360 | 1425 | </Member> |
|
1570 | 1635 | <altmember cref="P:System.Numerics.Complex.Phase" /> |
1571 | 1636 | </Docs> |
1572 | 1637 | </Member> |
| 1638 | + <MemberGroup MemberName="op_Multiply"> |
| 1639 | + <Docs> |
| 1640 | + <summary>Multiplies a specified number by another specified number, where at least one of them is a complex number, and the other could be a double-precision real number.</summary> |
| 1641 | + <remarks> |
| 1642 | + <format type="text/markdown"> |
| 1643 | + <] |
| 1658 | + [!code-vb[System.Numerics.Complex.Multiply#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb#1)] |
| 1659 | + |
| 1660 | + ]]></format> |
| 1661 | + </remarks> |
| 1662 | + </Docs> |
| 1663 | + </MemberGroup> |
1573 | 1664 | <Member MemberName="Multiply"> |
1574 | 1665 | <MemberSignature Language="C#" Value="public static System.Numerics.Complex Multiply (double left, System.Numerics.Complex right);" /> |
1575 | 1666 | <MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Numerics.Complex Multiply(float64 left, valuetype System.Numerics.Complex right) cil managed" /> |
|
1596 | 1687 | <Parameter Name="right" Type="System.Numerics.Complex" Index="1" FrameworkAlternate="netcore-3.0" /> |
1597 | 1688 | </Parameters> |
1598 | 1689 | <Docs> |
1599 | | - <param name="left">To be added.</param> |
1600 | | - <param name="right">To be added.</param> |
1601 | | - <summary>To be added.</summary> |
1602 | | - <returns>To be added.</returns> |
1603 | | - <remarks>To be added.</remarks> |
| 1690 | + <param name="left">The double-precision real number to multiply.</param> |
| 1691 | + <param name="right">The complex number to multiply.</param> |
| 1692 | + <summary>Returns the product of a double-precision real number and a complex number.</summary> |
| 1693 | + <returns>The product of the <paramref name="left" /> and <paramref name="right" /> parameters.</returns> |
| 1694 | + <remarks> |
| 1695 | + <format type="text/markdown"><![CDATA[ |
| 1696 | +
|
| 1697 | +## Remarks |
| 1698 | +
|
| 1699 | + The multiplication of a real number (which can be regarded as the complex number a + 0i) and a complex number (c + di) takes the following form: |
| 1700 | + |
| 1701 | + ac + adi |
| 1702 | + ]]></format> |
| 1703 | + </remarks> |
| 1704 | + <altmember cref="M:System.Numerics.Complex.op_Multiply(System.Double,System.Numerics.Complex)" /> |
1604 | 1705 | </Docs> |
1605 | 1706 | </Member> |
1606 | 1707 | <Member MemberName="Multiply"> |
|
1629 | 1730 | <Parameter Name="right" Type="System.Double" Index="1" FrameworkAlternate="netcore-3.0" /> |
1630 | 1731 | </Parameters> |
1631 | 1732 | <Docs> |
1632 | | - <param name="left">To be added.</param> |
1633 | | - <param name="right">To be added.</param> |
1634 | | - <summary>To be added.</summary> |
1635 | | - <returns>To be added.</returns> |
1636 | | - <remarks>To be added.</remarks> |
| 1733 | + <param name="left">The complex number to multiply.</param> |
| 1734 | + <param name="right">The double-precision real number to multiply.</param> |
| 1735 | + <summary>Returns the product of a complex number and a double-precision real number.</summary> |
| 1736 | + <returns>The product of the <paramref name="left" /> and <paramref name="right" /> parameters.</returns> |
| 1737 | + <remarks> |
| 1738 | + <format type="text/markdown"><![CDATA[ |
| 1739 | +
|
| 1740 | +## Remarks |
| 1741 | +
|
| 1742 | +The multiplication of a complex number (a + bi) and a real number (which can be regarded as the complex number c + 0i) takes the following form: |
| 1743 | +
|
| 1744 | +ac + bci |
| 1745 | + ]]></format> |
| 1746 | + </remarks> |
| 1747 | + <altmember cref="M:System.Numerics.Complex.op_Multiply(System.Numerics.Complex,System.Double)" /> |
1637 | 1748 | </Docs> |
1638 | 1749 | </Member> |
1639 | 1750 | <Member MemberName="Multiply"> |
|
1685 | 1796 | |
1686 | 1797 | (ac - bd) + (ad + bc)i |
1687 | 1798 | |
1688 | | - If the multiplication results in an overflow in either the real or imaginary component, the value of that component is either <xref:System.Double.PositiveInfinity?displayProperty=nameWithType> or <xref:System.Double.NegativeInfinity?displayProperty=nameWithType>. |
1689 | | - |
1690 | | - The <xref:System.Numerics.Complex.Multiply%2A> method is implemented for languages that do not support custom operators. Its behavior is identical to multiplication using the multiplication operator. |
1691 | | - |
1692 | | - |
1693 | | - |
1694 | | -## Examples |
1695 | | - The following example multiples a complex number by each element in an array of complex numbers. |
1696 | | - |
1697 | | - [!code-csharp[System.Numerics.Complex.Multiply#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.numerics.complex.multiply/cs/multiply1.cs#1)] |
1698 | | - [!code-vb[System.Numerics.Complex.Multiply#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.numerics.complex.multiply/vb/multiply1.vb#1)] |
1699 | | - |
1700 | 1799 | ]]></format> |
1701 | 1800 | </remarks> |
1702 | 1801 | <altmember cref="M:System.Numerics.Complex.op_Multiply(System.Numerics.Complex,System.Numerics.Complex)" /> |
|
1724 | 1823 | <ReturnType>System.Numerics.Complex</ReturnType> |
1725 | 1824 | </ReturnValue> |
1726 | 1825 | <Docs> |
1727 | | - <summary>To be added.</summary> |
| 1826 | + <summary>Represents a complex instance that is not a number (NaN).</summary> |
1728 | 1827 | <remarks>To be added.</remarks> |
1729 | 1828 | </Docs> |
1730 | 1829 | </Member> |
@@ -1906,7 +2005,7 @@ Languages that do not support custom operators can call the <xref:System.Numeric |
1906 | 2005 |
|
1907 | 2006 | ]]></format> |
1908 | 2007 | </remarks> |
1909 | | - <altmember cref="M:System.Numerics.Complex.Add(System.NDouble,System.Numerics.Complex)" /> |
| 2008 | + <altmember cref="M:System.Numerics.Complex.Add(System.Double,System.Numerics.Complex)" /> |
1910 | 2009 | </Docs> |
1911 | 2010 | </Member> |
1912 | 2011 | <Member MemberName="op_Addition"> |
|
0 commit comments