Navigation: Scripting Reference Manual > Functions & Subroutines > MatVecMult

 

MatVecMult

 

Contact Us: fredsupport@photonengr.com

 

Description

Multiplies a matrix by a vector.

 

Syntax

MatVecMult M, V, Vresult

 

Parameters

M() As Double

Matrix.

 

V() As Double

Vector.

 

Vresult() As Double

Vector result.

 

Remarks

This subroutine multiplies a matrix by a vector. The number of rows in the vector V should match the number of rows in matrix M. If there is a problem the subroutine sets an error and returns without modifying result.

 

See Also

MatMatMult

LinearEquationSolve

Examples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC