tweak: format
This commit is contained in:
parent
e1760dab2d
commit
bfc3b39b2b
|
@ -55,7 +55,6 @@ module Internals = {
|
||||||
|
|
||||||
// Integral helper functions
|
// Integral helper functions
|
||||||
|
|
||||||
|
|
||||||
let castFloatToInternalNumber = x => ReducerInterface_InternalExpressionValue.IEvNumber(x)
|
let castFloatToInternalNumber = x => ReducerInterface_InternalExpressionValue.IEvNumber(x)
|
||||||
let castArrayOfFloatsToInternalArrayOfInternals = xs => ReducerInterface_InternalExpressionValue.IEvArray(
|
let castArrayOfFloatsToInternalArrayOfInternals = xs => ReducerInterface_InternalExpressionValue.IEvArray(
|
||||||
Belt.Array.map(xs, x => castFloatToInternalNumber(x)),
|
Belt.Array.map(xs, x => castFloatToInternalNumber(x)),
|
||||||
|
@ -79,7 +78,7 @@ module Internals = {
|
||||||
// reason for existence: might be an useful template to have for calculating diminishing marginal returns later on
|
// reason for existence: might be an useful template to have for calculating diminishing marginal returns later on
|
||||||
applyFunctionAtPoint(aLambda, castFloatToInternalNumber(point), environment, reducer)
|
applyFunctionAtPoint(aLambda, castFloatToInternalNumber(point), environment, reducer)
|
||||||
// integrate function itself
|
// integrate function itself
|
||||||
*/
|
*/
|
||||||
let integrateFunctionBetweenWithNumIntegrationPoints = (
|
let integrateFunctionBetweenWithNumIntegrationPoints = (
|
||||||
aLambda,
|
aLambda,
|
||||||
min: float,
|
min: float,
|
||||||
|
@ -477,7 +476,7 @@ let library = [
|
||||||
],
|
],
|
||||||
(),
|
(),
|
||||||
),
|
),
|
||||||
*/
|
*/
|
||||||
// Integral in terms of function, min, max, num points
|
// Integral in terms of function, min, max, num points
|
||||||
// Note that execution time will be more predictable, because it
|
// Note that execution time will be more predictable, because it
|
||||||
// will only depend on num points and the complexity of the function
|
// will only depend on num points and the complexity of the function
|
||||||
|
|
Loading…
Reference in New Issue
Block a user