Click or drag to resize
CPGUMatrixVectorMult Method
Multiply a VV by a pager like a matrix*vector multiply.

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

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The matrix is input as an M rows (data) by N columns (variables) PG. The vector must be of length N. The output VV is set to length M. The PG and VVs must be type <define>GS_DOUBLE</define>. Terminates if: Matrices, VV are not expected sizes (taken from U) PGs are not <define>GS_DOUBLE</define>. Dummies are treated as 0 values.
Syntax
public static void MatrixVectorMult(
	CGXNETCore gxNetShared,
	CPG pg_u,
	CVV vv_x,
	CVV vv_o
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg_u
Type: GeoEngine.Core.GXNetXCPG
Matrix U
vv_x
Type: GeoEngine.Core.GXNetXCVV
Vector x
vv_o
Type: GeoEngine.Core.GXNetXCVV
Returned vector U*x
See Also