Class DoubleMatrix
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Encapsulates a matrix of doubles.
public abstract class DoubleMatrix
- Inheritance
-
DoubleMatrix
- Derived
- Inherited Members
Constructors
DoubleMatrix(int, double[]?)
Initializes a new instance of the DoubleMatrix class.
protected DoubleMatrix(int order, double[]? values)
Parameters
Properties
this[int, int]
Get or set the value at the specified x/y position.
public double this[int x, int y] { get; set; }
Parameters
Property Value
Order
Gets the order of the matrix.
public int Order { get; }
Property Value
Methods
GetValue(int, int)
Gets the value at the specified x/y position.
public double GetValue(int x, int y)
Parameters
Returns
- double
The value at the specified x/y position.
SetColumn(int, params double[])
Set the column at the specified x position.
public void SetColumn(int x, params double[] values)
Parameters
SetRow(int, params double[])
Set the row at the specified y position.
public void SetRow(int y, params double[] values)
Parameters
SetValue(int, int, double)
Set the value at the specified x/y position.
public void SetValue(int x, int y, double value)
Parameters
ToArray()
Returns a string that represents the current DoubleMatrix.
public double[] ToArray()
Returns
- double[]
The double array.