C# Class YAMP.RangeValue

A special kind of matrix which is a range (vector).
Inheritance: MatrixValue
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : MatrixValue

Clones the given range.

Deserialize ( byte content ) : Value

Tries to create a new instance from the given bytes.

RangeValue ( ) : System

Standard operator - Start at 1, Step 1 and till the end of the matrix.

RangeValue ( double start, double step ) : System

Creates a new range value from some point to the end of the matrix.

RangeValue ( double start, double end, double step ) : System

Creates a new range value with the specified steps.

Serialize ( ) : byte[]

Tries to serialize the contents into bytes.

this ( int j, int i ) : ScalarValue

Gets or sets an entry in the range.

Private Methods

Méthode Description
GetValue ( int i ) : ScalarValue

Method Details

Clone() public méthode

Clones the given range.
public Clone ( ) : MatrixValue
Résultat MatrixValue

Deserialize() public méthode

Tries to create a new instance from the given bytes.
public Deserialize ( byte content ) : Value
content byte The binary content.
Résultat Value

RangeValue() public méthode

Standard operator - Start at 1, Step 1 and till the end of the matrix.
public RangeValue ( ) : System
Résultat System

RangeValue() public méthode

Creates a new range value from some point to the end of the matrix.
public RangeValue ( double start, double step ) : System
start double The starting value.
step double The step value.
Résultat System

RangeValue() public méthode

Creates a new range value with the specified steps.
public RangeValue ( double start, double end, double step ) : System
start double The starting value.
end double The ending value.
step double The step value.
Résultat System

Serialize() public méthode

Tries to serialize the contents into bytes.
public Serialize ( ) : byte[]
Résultat byte[]

this() public méthode

Gets or sets an entry in the range.
public this ( int j, int i ) : ScalarValue
j int The 1-based row-index.
i int The 1-based column-index.
Résultat ScalarValue