gf_global_function_get¶
Synopsis
VALs = gf_global_function_get(global_function GF, 'val',mat PTs)
GRADs = gf_global_function_get(global_function GF, 'grad',mat PTs)
HESSs = gf_global_function_get(global_function GF, 'hess',mat PTs)
s = gf_global_function_get(global_function GF, 'char')
gf_global_function_get(global_function GF, 'display')
Description :
General function for querying information about global_function objects.
Command list :
VALs = gf_global_function_get(global_function GF, 'val',mat PTs)
Return <literal>val</literal> function evaluation in <literal>PTs</literal> (column points).
GRADs = gf_global_function_get(global_function GF, 'grad',mat PTs)
Return <literal>grad</literal> function evaluation in <literal>PTs</literal> (column points).
On return, each column of <literal>GRADs</literal> is of the form [Gx,Gy].
HESSs = gf_global_function_get(global_function GF, 'hess',mat PTs)
Return <literal>hess</literal> function evaluation in <literal>PTs</literal> (column points).
On return, each column of <literal>HESSs</literal> is of the form [Hxx,Hxy,Hyx,Hyy].
s = gf_global_function_get(global_function GF, 'char')
Output a (unique) string representation of the global_function.
This can be used to perform comparisons between two different global_function objects. This function is to be completed.
gf_global_function_get(global_function GF, 'display')
displays a short summary for a global_function object.