Click or drag to resize

MatrixMathSetMatrixElements(IMatrixDouble, Double) Method

Set all matrix elements to the provided value scalar.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void SetMatrixElements(
	this IMatrix<double> a,
	double scalar
)

Parameters

a  IMatrixDouble
The matrix where to set the elements.
scalar  Double
The value which is used to set each element with.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMatrixDouble. 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).
See Also