C# Класс ImageMagick.DoubleMatrix

Encapsulates a matrix of doubles.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetValue ( int x, int y ) : double

Gets the value at the specified x/y position.

SetColumn ( int x ) : void

Set the column at the specified x position.

SetRow ( int y ) : void

Set the row at the specified y position.

SetValue ( int x, int y, double value ) : void

Set the value at the specified x/y position.

ToArray ( ) : double[]

Returns a string that represents the current DoubleMatrix.

this ( int x, int y ) : double

Get or set the value at the specified x/y position.

Защищенные методы

Метод Описание
DoubleMatrix ( int order, double values ) : System

Initializes a new instance of the DoubleMatrix class.

Приватные методы

Метод Описание
CreateInstance ( DoubleMatrix instance ) : INativeInstance
CreateNativeInstance ( ) : INativeInstance
GetIndex ( int x, int y ) : int

Описание методов

DoubleMatrix() защищенный метод

Initializes a new instance of the DoubleMatrix class.
protected DoubleMatrix ( int order, double values ) : System
order int The order.
values double The values to initialize the matrix with.
Результат System

GetValue() публичный метод

Gets the value at the specified x/y position.
public GetValue ( int x, int y ) : double
x int The x position
y int The y position
Результат double

SetColumn() публичный метод

Set the column at the specified x position.
public SetColumn ( int x ) : void
x int The x position
Результат void

SetRow() публичный метод

Set the row at the specified y position.
public SetRow ( int y ) : void
y int The y position
Результат void

SetValue() публичный метод

Set the value at the specified x/y position.
public SetValue ( int x, int y, double value ) : void
x int The x position
y int The y position
value double The value
Результат void

ToArray() публичный метод

Returns a string that represents the current DoubleMatrix.
public ToArray ( ) : double[]
Результат double[]

this() публичный метод

Get or set the value at the specified x/y position.
public this ( int x, int y ) : double
x int The x position
y int The y position
Результат double