Click or drag to resize
Accord.NET (logo)

MatrixAddToDiagonal Method (Double, Double, Boolean)

Note: This API is now obsolete.

Obsolete. Please use the [M:Accord.Math.Elementwise.AddToDiagonal(System.Double[0:,0:],System.Double)] method instead.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use the Elementwise.AddToDiagonal(a, b) method instead.")]
public static double[][] AddToDiagonal(
	double[][] matrix,
	double scalar,
	bool inPlace = false
)
Request Example View Source

Parameters

matrix
Type: SystemDouble
scalar
Type: SystemDouble
inPlace (Optional)
Type: SystemBoolean

Return Value

Type: Double
See Also