|
SetGradientAccuracy(Value)
: all below macros make use of a constant named
'__Gradient_Fn_Accuracy_' for numerical approximation of the derivatives.
This constant can be changed with the macro, the default value is 0.001.
fn_Gradient(Fn)
: macro calculating the gradient of a function as a function.
Parameters:
Fn
= function to calculate the gradient from.fn_Gradient_Directional(Fn, Dir)
: macro calculating the gradient of a function
in one direction as a function.
Parameters:
Fn
= function to calculate the gradient from.Dir
= direction to calculate the gradient.fn_Divergence(Fnx, Fny, Fnz)
: macro calculating the divergence of a (vector)
function as a function.
Parameters:
Fnx, Fny, Fnz
= x, y and z components of a vector function.vGradient(Fn, p0)
: macro calculating the gradient of a function
as a vector expression.
Parameters:
Fn
= function to calculate the gradient from.p0
= point where to calculate the gradient.vCurl(Fnx, Fny, Fnz, p0)
: macro calculating the curl of a (vector) function
as a vector expression
Parameters:
Fnx, Fny, Fnz
= x, y and z components of a vector function.p0
= point where to calculate the gradient.Divergence(Fnx, Fny, Fnz, p0)
: macro calculating the divergence of a (vector) function
as a float expression
Parameters:
Fnx, Fny, Fnz
= x, y and z components of a vector function.p0
= point where to calculate the gradient.Gradient_Length(Fn, p0)
: macro calculating the length of the gradient
of a function as a float expression.
Parameters:
Fn
= function to calculate the gradient from.p0
= point where to calculate the gradient.Gradient_Directional(Fn, p0, Dir)
: macro calculating the gradient of a function
in one direction as a float expression.
Parameters:
Fn
= function to calculate the gradient from.
p0
= point where to calculate the gradient.
Dir
= direction to calculate the gradient.
|