|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.03.19.0011.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sign[Round[x + I y]] == (Round[x] + I Round[y])/Sqrt[Round[x]^2 + Round[y]^2]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List["Sign", "[", RowBox[List["Round", "[", RowBox[List["x", "+", RowBox[List["\[ImaginaryI]", " ", "y"]]]], "]"]], "]"]], "\[Equal]", FractionBox[RowBox[List[RowBox[List["Round", "[", "x", "]"]], "+", RowBox[List["\[ImaginaryI]", " ", RowBox[List["Round", "[", "y", "]"]]]]]], SqrtBox[RowBox[List[SuperscriptBox[RowBox[List["Round", "[", "x", "]"]], "2"], "+", SuperscriptBox[RowBox[List["Round", "[", "y", "]"]], "2"]]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mi> sgn </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mo> ⌈ </mo> <mrow> <mi> x </mi> <mo> + </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mi> y </mi> </mrow> </mrow> <mo> ⌉ </mo> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mfrac> <mrow> <mtext> </mtext> <mrow> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌉ </mo> </mrow> <mo> + </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mtext> </mtext> <mrow> <mo> ⌊ </mo> <mi> y </mi> <mo> ⌉ </mo> </mrow> </mrow> </mrow> </mrow> <msqrt> <mrow> <mtext> </mtext> <mrow> <msup> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌉ </mo> </mrow> <mn> 2 </mn> </msup> <mo> + </mo> <mtext> </mtext> <msup> <mrow> <mo> ⌊ </mo> <mi> y </mi> <mo> ⌉ </mo> </mrow> <mn> 2 </mn> </msup> </mrow> </mrow> </msqrt> </mfrac> </mrow> <annotation-xml encoding='MathML-Content'> <mrow> <mrow> <mi> sgn </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mo> ⌈ </mo> <mrow> <mi> x </mi> <mo> + </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mi> y </mi> </mrow> </mrow> <mo> ⌉ </mo> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mfrac> <mrow> <mtext> </mtext> <mrow> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌉ </mo> </mrow> <mo> + </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mtext> </mtext> <mrow> <mo> ⌊ </mo> <mi> y </mi> <mo> ⌉ </mo> </mrow> </mrow> </mrow> </mrow> <msqrt> <mrow> <mtext> </mtext> <mrow> <msup> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌉ </mo> </mrow> <mn> 2 </mn> </msup> <mo> + </mo> <mtext> </mtext> <msup> <mrow> <mo> ⌊ </mo> <mi> y </mi> <mo> ⌉ </mo> </mrow> <mn> 2 </mn> </msup> </mrow> </mrow> </msqrt> </mfrac> </mrow> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Sign", "[", RowBox[List["Round", "[", RowBox[List["x_", "+", RowBox[List["\[ImaginaryI]", " ", "y_"]]]], "]"]], "]"]], "]"]], "\[RuleDelayed]", FractionBox[RowBox[List[RowBox[List["Round", "[", "x", "]"]], "+", RowBox[List["\[ImaginaryI]", " ", RowBox[List["Round", "[", "y", "]"]]]]]], SqrtBox[RowBox[List[SuperscriptBox[RowBox[List["Round", "[", "x", "]"]], "2"], "+", SuperscriptBox[RowBox[List["Round", "[", "y", "]"]], "2"]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|