Click or drag to resize
CVVUTrend Method
Calculate an n'th order best-fit polynomial, integral x.

Available since Oasis montaj version: 5.0.6
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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)
Syntax
public static void Trend(
	CGXNETCore gxNetShared,
	CVV vv_d,
	int order,
	CVV vv_c
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv_d
Type: GeoEngine.Core.GXNetXCVV
VV with input data
order
Type: SystemInt32
Order of the polynomial 0-9
vv_c
Type: GeoEngine.Core.GXNetXCVV
VV to hold polynomial coefficients (returned).
See Also