|
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
)
<ObsoleteAttribute("Please use the Elementwise.AddToDiagonal(a, b) method instead.")>
Public Shared Function AddToDiagonal (
matrix As Double()(),
scalar As Double,
Optional inPlace As Boolean = false
) As Double()()
Request Example
View SourceParameters
- matrix
- Type: SystemDouble
- scalar
- Type: SystemDouble
- inPlace (Optional)
- Type: SystemBoolean
Return Value
Type:
DoubleSee Also