2using System.Collections.Generic;
3using System.Security.Cryptography;
55 get {
return new string[] {
"degrees",
"N" }; }
77 int N = (int)Math.Round(d);
81 double[] v =
new double[N];
84 for (i = 0; i < N; i++)
Script runtime exception.
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Generates a random number using the chi squared distribution.
override string FunctionName
Name of the function
Chi2(ScriptNode Degrees, int Start, int Length, Expression Expression)
Generates a random number using the chi squared distribution.
static double NextDouble(double Degrees)
Gets a chi squared distributed random value.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
Chi2(ScriptNode Degrees, ScriptNode N, int Start, int Length, Expression Expression)
Generates a random number using the chi squared distribution.
override string[] DefaultArgumentNames
Default Argument names
Generates a random number using the gamma distribution.
static double NextDouble(double Shape, double Scale)
Gets a gamma distributed random value.
Basic interface for all types of elements.
ArgumentType
Type of parameter used in a function definition or a lambda definition.