|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.09.03.0024.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExtendedGCD[n, n, n, n] == {Abs[n], {0, 0, 0, Sign[n]}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["ExtendedGCD", "[", RowBox[List["n", ",", "n", ",", "n", ",", "n"]], "]"]], "\[Equal]", RowBox[List["{", RowBox[List[RowBox[List["Abs", "[", "n", "]"]], ",", RowBox[List["{", RowBox[List["0", ",", "0", ",", "0", ",", RowBox[List["Sign", "[", "n", "]"]]]], "}"]]]], "}"]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mi> egcd </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> n </mi> <mo> , </mo> <mi> n </mi> <mo> , </mo> <mi> n </mi> <mo> , </mo> <mi> n </mi> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mo> { </mo> <mrow> <mrow> <semantics> <mo> ❘ </mo> <annotation encoding='Mathematica'> "\[LeftBracketingBar]" </annotation> </semantics> <mi> n </mi> <semantics> <mo> ❘ </mo> <annotation encoding='Mathematica'> "\[RightBracketingBar]" </annotation> </semantics> </mrow> <mo> , </mo> <mrow> <mo> { </mo> <mrow> <mn> 0 </mn> <mo> , </mo> <mn> 0 </mn> <mo> , </mo> <mn> 0 </mn> <mo> , </mo> <mrow> <mi> sgn </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> </mrow> <mo> } </mo> </mrow> </mrow> <mo> } </mo> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <eq /> <apply> <ci> egcd </ci> <ci> n </ci> <ci> n </ci> <ci> n </ci> <ci> n </ci> </apply> <list> <apply> <abs /> <ci> n </ci> </apply> <list> <cn type='integer'> 0 </cn> <cn type='integer'> 0 </cn> <cn type='integer'> 0 </cn> <apply> <ci> Sign </ci> <ci> n </ci> </apply> </list> </list> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["ExtendedGCD", "[", RowBox[List["n_", ",", "n_", ",", "n_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List["{", RowBox[List[RowBox[List["Abs", "[", "n", "]"]], ",", RowBox[List["{", RowBox[List["0", ",", "0", ",", "0", ",", RowBox[List["Sign", "[", "n", "]"]]]], "}"]]]], "}"]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|