 | 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
Syntaxpublic 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
)
Public Shared Sub MatrixVectorMult (
pg_u As CPG,
vv_x As CVV,
vv_o As CVV
)
Public Shared Sub MatrixVectorMult (
pg_u As CPG,
vv_x As CVV,
vv_o As CVV
)
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
)
static member MatrixVectorMult :
pg_u : CPG *
vv_x : CVV *
vv_o : CVV -> unit
static member MatrixVectorMult :
pg_u : CPG *
vv_x : CVV *
vv_o : CVV -> unit
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