Keywords: clear search

## Welcome to the Futurama Support Site

The Futurama Support Site is the website where you can find Futurama and Futurama Vision documentation. If you have any questions about the support pages or if you want to provide us feedback please send us an e-mail.

Index MultiplyMatrixVector

451 documents found.

# MultiplyMatrixVector

Futurama-Editor
Futurama-Formulas
Developer

Module: Editor

Version: 5.1.4 +

Type: Long or Double

Category: Matrix

## Description

The formula 'MultiplyMatrixVector' returns the product of a matrix and a vector. The formula 'MultiplyMatrixVector' multiplies the rows of the vector with the columns of the matrix. The elements of the first column of the matrix will be multiplied by the first element of the vector, the elements of the second column of the matrix will be multiplied by the second element of the vector and so on. The number of rows of the vector has to be of the same size as the number of columns of the matrix.

## Parameters

Matrix:      the matrix you want to use for multiplication with a vector.

Vector:      the vector you want to use.

## Example

### Description

In the following example the formula 'MultiplyMatrixVector' is used to get the product of a matrix and a vector.

### Values parameters

Matrix:

Column 1Column 2Column 3
2  5  8
3  6  9
4  7  10

Vector:

Column 1
2
4
6

### Result

Output:

Column 1Column 2Column 3
4  20  48
6  24  54
8  28  60

The outcome is a matrix with the product of each element of the chosen matrix with the vector. The first row of the vector is multiplied with the elements of the first column of the matrix, the second row with the second column and the third row with the third column.

## Related Topics

MultiplyMatricesThe formula 'MultiplyMatrices' returns the product of two or more matrices.

MultiplyScalarMatrixThe formula 'MultiplyScalarMatrix' returns the product of a scalar and a matrix.