Vuo  2.0.1
Functions
VuoReal.c File Reference

Description

VuoReal implementation.

Definition in file VuoReal.c.

Go to the source code of this file.

Functions

VuoReal VuoReal_makeFromJson (json_object *js)
 
json_objectVuoReal_getJson (const VuoReal value)
 
char * VuoReal_getSummary (const VuoReal value)
 
VuoReal VuoReal_min (VuoReal *terms, unsigned long termsCount, VuoInteger *outputPosition)
 Returns the minimum of an array of terms, or 0 if the array is empty. More...
 
VuoReal VuoReal_max (VuoReal *terms, unsigned long termsCount, VuoInteger *outputPosition)
 Returns the maximum of an array of terms, or 0 if the array is empty. More...
 
VuoReal VuoReal_average (VuoList_VuoReal values)
 Returns the average of the values in the list, or 0 if the list is empty. More...
 
VuoReal VuoReal_wrap (VuoReal value, VuoReal minimum, VuoReal maximum)
 Returns value if it is within the range of minimum (inclusive) to maximum (exclusive), otherwise a value wrapped with modular arithmetic to be within the range. More...
 
VuoReal VuoReal_random (const VuoReal minimum, const VuoReal maximum)
 Returns a pseudorandom value between minimum and maximum. More...
 
VuoReal VuoReal_randomWithState (unsigned short state[3], const VuoReal minimum, const VuoReal maximum)
 Returns a pseudorandom value between minimum and maximum. More...
 
bool VuoReal_areEqual (const VuoReal value1, const VuoReal value2)
 Returns true if the two values are equal (within a small tolerance). More...
 
bool VuoReal_isLessThan (const VuoReal a, const VuoReal b)
 Returns true if a < b. More...