Show / Hide Table of Contents

Class Range

A range.

Inheritance
System.Object
Range
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:numl.Math
Assembly:numl.dll
Syntax
public class Range

Constructors

View Source

Range(Double)

Constructor taking only minimum value and creating slightly greated max.

Declaration
public Range(double min)
Parameters
Type Name Description
System.Double min

The minimum.

View Source

Range(Double, Double)

Constructor taking min and max vaue to create Range.

Declaration
public Range(double min, double max)
Parameters
Type Name Description
System.Double min

The minimum.

System.Double max

The maximum.

Properties

View Source

Max

Gets or sets the maximum.

Declaration
public double Max { get; }
Property Value
Type Description
System.Double

The maximum value.

View Source

Min

Gets or sets the minimum.

Declaration
public double Min { get; }
Property Value
Type Description
System.Double

The minimum value.

Methods

View Source

Test(Double)

Tests.

Declaration
public bool Test(double d)
Parameters
Type Name Description
System.Double d

The double to process.

Returns
Type Description
System.Boolean

true if it succeeds, false if it fails.

View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.Object.ToString()
  • View Source
©2017 — Seth Juarez
numl v0.9.20-beta
MIT License
docs by docfx