| CVVUTrend2 Method |
Calculate an n'th order best-fit polynomial, specified X
Available since Oasis montaj version: 5.0.6
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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 defined by a X VV (see Trend_VV for unitless X).
The polynomial VV length is set to the number of coefficients
(order + 1)
Syntax public static void Trend2(
CVV oVV1,
CVV oVV2,
int i3,
CVV oVV4
)
Public Shared Sub Trend2 (
oVV1 As CVV,
oVV2 As CVV,
i3 As Integer,
oVV4 As CVV
)
public:
static void Trend2(
CVV^ oVV1,
CVV^ oVV2,
int i3,
CVV^ oVV4
)
static member Trend2 :
oVV1 : CVV *
oVV2 : CVV *
i3 : int *
oVV4 : CVV -> unit
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
VV with x spacing (input) - oVV2
- Type: GeoEngine.Core.GXNetCVV
VV with input data - i3
- Type: SystemInt32
order of the polynomial 0-9 - oVV4
- Type: GeoEngine.Core.GXNetCVV
VV to hold polynomial coefficients (returned)
See Also