C# Class YAMP.RangeValue

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

Public Methods

Method 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

Method Description
GetValue ( int i ) : ScalarValue

Method Details

Clone() public method

Clones the given range.
public Clone ( ) : MatrixValue
return MatrixValue

Deserialize() public method

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

RangeValue() public method

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

RangeValue() public method

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.
return System

RangeValue() public method

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.
return System

Serialize() public method

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

this() public method

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.
return ScalarValue