|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.03.27.0014.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Round[x] == IntegerPart[x + 1/2] /; (Element[x, Reals] && x >= -(1/2)) ||
Element[(2 x + 1)/4, Integers]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Round", "[", "x", "]"]], "\[Equal]", RowBox[List["IntegerPart", "[", RowBox[List["x", "+", FractionBox["1", "2"]]], "]"]]]], "/;", RowBox[List[RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "\[And]", RowBox[List["x", "\[GreaterEqual]", RowBox[List["-", FractionBox["1", "2"]]]]]]], "\[Or]", RowBox[List[FractionBox[RowBox[List[RowBox[List["2", " ", "x"]], "+", "1"]], "4"], "\[Element]", "Integers"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌉ </mo> </mrow> <mo> ⩵ </mo> <mrow> <mi> int </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> x </mi> <mo> + </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mrow> <mi> x </mi> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> x </mi> <mo> ≥ </mo> <mrow> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> </mrow> </mrow> <mo> ∨ </mo> <mrow> <mfrac> <mrow> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mi> x </mi> </mrow> <mo> + </mo> <mn> 1 </mn> </mrow> <mn> 4 </mn> </mfrac> <mo> ∈ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <mrow> <mrow> <mrow> <mo> ⌊ </mo> <mi> x </mi> <mo> ⌉ </mo> </mrow> <mo> ⩵ </mo> <mrow> <mi> int </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> x </mi> <mo> + </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mrow> <mi> x </mi> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> x </mi> <mo> ≥ </mo> <mrow> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> </mrow> </mrow> <mo> ∨ </mo> <mrow> <mfrac> <mrow> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mi> x </mi> </mrow> <mo> + </mo> <mn> 1 </mn> </mrow> <mn> 4 </mn> </mfrac> <mo> ∈ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Round", "[", "x_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["IntegerPart", "[", RowBox[List["x", "+", FractionBox["1", "2"]]], "]"]], "/;", RowBox[List[RowBox[List["(", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "&&", RowBox[List["x", "\[GreaterEqual]", RowBox[List["-", FractionBox["1", "2"]]]]]]], ")"]], "||", RowBox[List[RowBox[List[FractionBox["1", "4"], " ", RowBox[List["(", RowBox[List[RowBox[List["2", " ", "x"]], "+", "1"]], ")"]]]], "\[Element]", "Integers"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|