  | CVVUTrend2 Method  | 
 Calculate an n'th order best-fit polynomial, specified X
 
    Namespace: 
   Geosoft.Desktop.GXNetX
    Assembly:
   geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static void Trend2(
	CGXNETCore gxNetShared,
	CVV vv_x,
	CVV vv_d,
	int order,
	CVV vv_c
)
public static void Trend2(
	CGXNETCore gxNetShared,
	CVV vv_x,
	CVV vv_d,
	int order,
	CVV vv_c
)
Public Shared Sub Trend2 ( 
	gxNetShared As CGXNETCore,
	vv_x As CVV,
	vv_d As CVV,
	order As Integer,
	vv_c As CVV
)
Public Shared Sub Trend2 ( 
	gxNetShared As CGXNETCore,
	vv_x As CVV,
	vv_d As CVV,
	order As Integer,
	vv_c As CVV
)
public:
static void Trend2(
	CGXNETCore^ gxNetShared, 
	CVV^ vv_x, 
	CVV^ vv_d, 
	int order, 
	CVV^ vv_c
)
public:
static void Trend2(
	CGXNETCore^ gxNetShared, 
	CVV^ vv_x, 
	CVV^ vv_d, 
	int order, 
	CVV^ vv_c
)
static member Trend2 : 
        gxNetShared : CGXNETCore * 
        vv_x : CVV * 
        vv_d : CVV * 
        order : int * 
        vv_c : CVV -> unit 
static member Trend2 : 
        gxNetShared : CGXNETCore * 
        vv_x : CVV * 
        vv_d : CVV * 
        order : int * 
        vv_c : CVV -> unit 
Parameters
- gxNetShared
 - Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - vv_x
 - Type: GeoEngine.Core.GXNetXCVV
VV with x spacing (input) - 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) 
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 defined by a X VV (see Trend_VV for unitless X).
The polynomial VV length is set to the number of coefficients
(order + 1)
See Also