Click or drag to resize

CPGUMatrixVectorMult Method

Multiply a VV by a pager like a matrix*vector multiply.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void MatrixVectorMult(
	CGXNETCore gxNetShared,
	CPG pg_u,
	CVV vv_x,
	CVV vv_o
)

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
Remarks
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.
See Also