AngouriMath
ToInterval
Method with 32 overloads
ToInterval(System.ValueTuple{System.Double,System.Boolean,System.Double,System.Boolean})
Summary
Takes a Double and Double and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5, false, 4.5, true).ToInterval());
Prints
(1/2; 9/2]ToInterval(System.ValueTuple{System.Double,System.Boolean,System.Int32,System.Boolean})
Summary
Takes a Double and Int32 and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5, false, 5, true).ToInterval());
Prints
(1/2; 5]ToInterval(System.ValueTuple{System.Double,System.Boolean,System.Single,System.Boolean})
Summary
Takes a Double and Single and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5, false, 4.5f, true).ToInterval());
Prints
(1/2; 9/2]ToInterval(System.ValueTuple{System.Double,System.Boolean,System.String,System.Boolean})
Summary
Takes a Double and String and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5, false, "2 pi", true).ToInterval());
Prints
(1/2; 2 * pi]ToInterval(System.ValueTuple{System.Double,System.Double})
Summary
Takes a Double and Double and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5, 4.5).ToInterval());
Prints
[1/2; 9/2]ToInterval(System.ValueTuple{System.Double,System.Int32})
Summary
Takes a Double and Int32 and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5, 5).ToInterval());
Prints
[1/2; 5]ToInterval(System.ValueTuple{System.Double,System.Single})
Summary
Takes a Double and Single and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5, 4.5f).ToInterval());
Prints
[1/2; 9/2]ToInterval(System.ValueTuple{System.Double,System.String})
Summary
Takes a Double and String and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5, "2 pi").ToInterval());
Prints
[1/2; 2 * pi]ToInterval(System.ValueTuple{System.Int32,System.Boolean,System.Double,System.Boolean})
Summary
Takes a Int32 and Double and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((2, false, 4.5, true).ToInterval());
Prints
(2; 9/2]ToInterval(System.ValueTuple{System.Int32,System.Boolean,System.Int32,System.Boolean})
Summary
Takes a Int32 and Int32 and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((2, false, 5, true).ToInterval());
Prints
(2; 5]ToInterval(System.ValueTuple{System.Int32,System.Boolean,System.Single,System.Boolean})
Summary
Takes a Int32 and Single and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((2, false, 4.5f, true).ToInterval());
Prints
(2; 9/2]ToInterval(System.ValueTuple{System.Int32,System.Boolean,System.String,System.Boolean})
Summary
Takes a Int32 and String and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((2, false, "2 pi", true).ToInterval());
Prints
(2; 2 * pi]ToInterval(System.ValueTuple{System.Int32,System.Double})
Summary
Takes a Int32 and Double and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((2, 4.5).ToInterval());
Prints
[2; 9/2]ToInterval(System.ValueTuple{System.Int32,System.Int32})
Summary
Takes a Int32 and Int32 and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((2, 5).ToInterval());
Prints
[2; 5]ToInterval(System.ValueTuple{System.Int32,System.Single})
Summary
Takes a Int32 and Single and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((2, 4.5f).ToInterval());
Prints
[2; 9/2]ToInterval(System.ValueTuple{System.Int32,System.String})
Summary
Takes a Int32 and String and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((2, "2 pi").ToInterval());
Prints
[2; 2 * pi]ToInterval(System.ValueTuple{System.Single,System.Boolean,System.Double,System.Boolean})
Summary
Takes a Single and Double and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5f, false, 4.5, true).ToInterval());
Prints
(1/2; 9/2]ToInterval(System.ValueTuple{System.Single,System.Boolean,System.Int32,System.Boolean})
Summary
Takes a Single and Int32 and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5f, false, 5, true).ToInterval());
Prints
(1/2; 5]ToInterval(System.ValueTuple{System.Single,System.Boolean,System.Single,System.Boolean})
Summary
Takes a Single and Single and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5f, false, 4.5f, true).ToInterval());
Prints
(1/2; 9/2]ToInterval(System.ValueTuple{System.Single,System.Boolean,System.String,System.Boolean})
Summary
Takes a Single and String and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine((0.5f, false, "2 pi", true).ToInterval());
Prints
(1/2; 2 * pi]ToInterval(System.ValueTuple{System.Single,System.Double})
Summary
Takes a Single and Double and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5f, 4.5).ToInterval());
Prints
[1/2; 9/2]ToInterval(System.ValueTuple{System.Single,System.Int32})
Summary
Takes a Single and Int32 and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5f, 5).ToInterval());
Prints
[1/2; 5]ToInterval(System.ValueTuple{System.Single,System.Single})
Summary
Takes a Single and Single and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5f, 4.5f).ToInterval());
Prints
[1/2; 9/2]ToInterval(System.ValueTuple{System.Single,System.String})
Summary
Takes a Single and String and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine((0.5f, "2 pi").ToInterval());
Prints
[1/2; 2 * pi]ToInterval(System.ValueTuple{System.String,System.Boolean,System.Double,System.Boolean})
Summary
Takes a String and Double and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine(("pi", false, 4.5, true).ToInterval());
Prints
(pi; 9/2]ToInterval(System.ValueTuple{System.String,System.Boolean,System.Int32,System.Boolean})
Summary
Takes a String and Int32 and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine(("pi", false, 5, true).ToInterval());
Prints
(pi; 5]ToInterval(System.ValueTuple{System.String,System.Boolean,System.Single,System.Boolean})
Summary
Takes a String and Single and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine(("pi", false, 4.5f, true).ToInterval());
Prints
(pi; 9/2]ToInterval(System.ValueTuple{System.String,System.Boolean,System.String,System.Boolean})
Summary
Takes a String and String and returns
an interval whose two flags say whether each end is included
Returns
IntervalExample
Console.WriteLine(("pi", false, "2 pi", true).ToInterval());
Prints
(pi; 2 * pi]ToInterval(System.ValueTuple{System.String,System.Double})
Summary
Takes a String and Double and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine(("pi", 4.5).ToInterval());
Prints
[pi; 9/2]ToInterval(System.ValueTuple{System.String,System.Int32})
Summary
Takes a String and Int32 and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine(("pi", 5).ToInterval());
Prints
[pi; 5]ToInterval(System.ValueTuple{System.String,System.Single})
Summary
Takes a String and Single and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine(("pi", 4.5f).ToInterval());
Prints
[pi; 9/2]ToInterval(System.ValueTuple{System.String,System.String})
Summary
Takes a String and String and returns
a closed interval (so that left and right ends are included)
Returns
IntervalExample
Console.WriteLine(("pi", "2 pi").ToInterval());
Prints
[pi; 2 * pi]
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online