Class Index | File Index

Classes


Methods

Fields

Class Range


Defined in: Piecewise.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Range(rangestring)
A Class which serves to represent mathematical ranges
Field Summary
Field Attributes Field Name and Description
<static> <constant>
A static constant to help with de/serialization
Method Summary
Method Attributes Method Name and Description
<static>
Range.fromWebWorker(that)
Reattach methods after being passed to web worker
{Boolean}
inRange(num)
Tests if a value is within a range
{string}
Creates a string representation
A method to help with serializing and passing to web worker
Class Detail
Range(rangestring)
A Class which serves to represent mathematical ranges
Parameters:
{String} rangestring
Anything of the standard mathematical forms [x,y],(x,y],[x,y),(x,y) where x,y in reals and square brackets are inclusive and parens are exclusive
Field Detail
<static> <constant> Range.serializeName
A static constant to help with de/serialization
Method Detail
<static> Range.fromWebWorker(that)
Reattach methods after being passed to web worker
Parameters:
{Object} that
A Range stripped of methods

{Boolean} inRange(num)
Tests if a value is within a range
Parameters:
{Double} num
The value to be tested
Returns:
{Boolean} True or false depending on the range defined

{string} toString()
Creates a string representation
Returns:
{string}

toWebWorker()
A method to help with serializing and passing to web worker

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jul 19 2013 13:20:00 GMT-0400 (EDT)