![](../icons/Help.png) | 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.GXNetXAssembly: 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.
Syntaxpublic static void MatrixVectorMult(
CGXNETCore gxNetShared,
CPG pg_u,
CVV vv_x,
CVV vv_o
)
Public Shared Sub MatrixVectorMult (
gxNetShared As CGXNETCore,
pg_u As CPG,
vv_x As CVV,
vv_o As CVV
)
public:
static void MatrixVectorMult(
CGXNETCore^ gxNetShared,
CPG^ pg_u,
CVV^ vv_x,
CVV^ vv_o
)
static member MatrixVectorMult :
gxNetShared : CGXNETCore *
pg_u : CPG *
vv_x : CVV *
vv_o : CVV -> unit
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