Click or drag to resize
Accord.NET (logo)

LinearAdd Method (SparseDouble, Double, Double)

Elementwise addition of a and b, storing in result.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public void Add(
	Sparse<double> a,
	double[] b,
	double[] result
)
Request Example View Source

Parameters

a
Type: Accord.MathSparseDouble
The first vector to add.
b
Type: SystemDouble
The second vector to add.
result
Type: SystemDouble
An array to store the result.

Implements

ILinearTAdd(T, Double, Double)
See Also