Click or drag to resize
Accord.NET (logo)

JaggedOuter Method (Int32, Double, Double)

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 double[][] Outer(
	int[] a,
	double[] b,
	double[][] result
)
Request Example View Source

Parameters

a
Type: SystemInt32
b
Type: SystemDouble
result
Type: SystemDouble

Return Value

Type: Double
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