Click or drag to resize

CPGUMatrixVectorMult Method

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

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void MatrixVectorMult(
	CPG pg_u,
	CVV vv_x,
	CVV vv_o
)

public static void MatrixVectorMult(
	CPG pg_u,
	CVV vv_x,
	CVV vv_o
)

Parameters

pg_u
Type: GeoEngine.Core.GXNetCPG
Matrix U
vv_x
Type: GeoEngine.Core.GXNetCVV
Vector x
vv_o
Type: GeoEngine.Core.GXNetCVV
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