![](../icons/Help.png) | CPGUMatrixVectorMult Method |
Multiply a VV by a pager like a matrix*vector multiply.
Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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 GS_DOUBLE.
Terminates if: Matrices, VV are not expected sizes (taken from U)
PGs are not REAL.
Dummies are treated as 0 values.
Syntaxpublic static void MatrixVectorMult(
CPG oPG1,
CVV oVV2,
CVV oVV3
)
Public Shared Sub MatrixVectorMult (
oPG1 As CPG,
oVV2 As CVV,
oVV3 As CVV
)
public:
static void MatrixVectorMult(
CPG^ oPG1,
CVV^ oVV2,
CVV^ oVV3
)
static member MatrixVectorMult :
oPG1 : CPG *
oVV2 : CVV *
oVV3 : CVV -> unit
Parameters
- oPG1
- Type: GeoEngine.Core.GXNetCPG
matrix U - oVV2
- Type: GeoEngine.Core.GXNetCVV
vector x - oVV3
- Type: GeoEngine.Core.GXNetCVV
returned vector U*x
See Also