Two-dimensional jagged variable array.
| C# | Visual Basic | Visual C++ |
public class VariableArray2D<TItem, TArray> : VariableArrayBase<TItem, TArray>, SettableTo<VariableArray2D<TItem, TArray>> where TItem : Variable, ICloneable, SettableTo<TItem>
Public Class VariableArray2D(Of TItem As {Variable, ICloneable, SettableTo(Of TItem)}, TArray) _ Inherits VariableArrayBase(Of TItem, TArray) _ Implements SettableTo(Of VariableArray2D(Of TItem, TArray))
generic<typename TItem, typename TArray> where TItem : Variable, ICloneable, SettableTo<TItem> public ref class VariableArray2D : public VariableArrayBase<TItem, TArray>, SettableTo<VariableArray2D<TItem, TArray>^>
- TItem
- TArray
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Attrib(Object) |
Inline method for adding an attribute to a random variable. This method
returns the random variable object, so that is can be used in an inline expression.
e.g. Variable.GaussianFromMeanAndVariance(0,1).Attrib(new MyAttribute());
| |
| Clone()()() |
Clone the 2-D jagged array
(Overrides Variable<(Of <(TArray>)>).Clone()()().) | |
| Item[([(Range, Range])]) |
Get or set elements of the array.
| |
| Item[([(Range, Variable<(Of <(Int32>)>)])]) |
Get or set elements of the array.
| |
| Item[([(Variable<(Of <(Int32>)>), Range])]) |
Get or set elements of the array.
| |
| Item[([(Variable<(Of <(Int32>)>), Variable<(Of <(Int32>)>)])]) |
Get or set elements of the array.
| |
| Named(String) |
Inline method to name the array.
| |
| Range0 |
Range for first index
| |
| Range1 |
Range for second index
| |
| SetTo(VariableArray2D<(Of <(TItem, TArray>)>)) |
Set the 2-D jagged array to a specified value
|
| Object | ||||||
| ConstrainableExpression | ||||||
| Variable | ||||||
| Variable<(Of <(TArray>)>) | ||||||
| VariableArrayBase<(Of <(TItem, TArray>)>) | ||||||
| VariableArray2D<(Of <(TItem, TArray>)>) | ||||||
| VariableArray2D<(Of <(T>)>) | ||||||