 | CVVUTrend Method |
Calculate an n'th order best-fit polynomial, integral x.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void Trend(
CVV vv_d,
int order,
CVV vv_c
)
public static void Trend(
CVV vv_d,
int order,
CVV vv_c
)
Public Shared Sub Trend (
vv_d As CVV,
order As Integer,
vv_c As CVV
)
Public Shared Sub Trend (
vv_d As CVV,
order As Integer,
vv_c As CVV
)
public:
static void Trend(
CVV^ vv_d,
int order,
CVV^ vv_c
)
public:
static void Trend(
CVV^ vv_d,
int order,
CVV^ vv_c
)
static member Trend :
vv_d : CVV *
order : int *
vv_c : CVV -> unit
static member Trend :
vv_d : CVV *
order : int *
vv_c : CVV -> unit
Parameters
- vv_d
- Type: GeoEngine.Core.GXNetCVV
VV with input data - order
- Type: SystemInt32
Order of the polynomial 0-9 - vv_c
- Type: GeoEngine.Core.GXNetCVV
VV to hold polynomial coefficients (returned).
Remarks
Returns coefficients c[0] .. c[n]
Y(x) = c[0] + c[1]x + c[2](x**2) + ... + c[n](x**n)
The X scale is unitless (1 per element), i.e. 0,1,2,3,...
The polynomial VV length is set to the number of coefficients
(order + 1)
See Also