﻿ Matrix.Outer Method (Decimal[], Decimal[], Decimal[,])

# MatrixAddLanguageSpecificTextSet("LST629B2931_0?cpp=::|nu=.");Outer Method (AddLanguageSpecificTextSet("LST629B2931_1?cpp=array&lt;");DecimalAddLanguageSpecificTextSet("LST629B2931_2?cpp=&gt;|vb=()|nu=[]");, AddLanguageSpecificTextSet("LST629B2931_3?cpp=array&lt;");DecimalAddLanguageSpecificTextSet("LST629B2931_4?cpp=&gt;|vb=()|nu=[]");, AddLanguageSpecificTextSet("LST629B2931_5?cpp=array&lt;");DecimalAddLanguageSpecificTextSet("LST629B2931_6?cpp=,2&gt;|vb=(,)|nu=[,]");)

Gets the outer product (matrix product) between two vectors (a*bT).

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
```public static decimal[,] Outer(
this decimal[] a,
decimal[] b,
decimal[,] result
)```

#### Parameters

a
Type: SystemDecimal
b
Type: SystemDecimal
result
Type: SystemDecimal

Type: Decimal

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
In linear algebra, the outer product typically refers to the tensor product of two vectors. The result of applying the outer product to a pair of vectors is a matrix. The name contrasts with the inner product, which takes as input a pair of vectors and produces a scalar.
See Also