Class Matrix2DBase<T>
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IEquatable<MatrixBase<T>>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Collections
Assembly: Azos.dll
Syntax
public abstract class Matrix2DBase<T> : MatrixBase<T>, IEnumerable<T>, IEnumerable, IEquatable<MatrixBase<T>>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Matrix2DBase(Int32, Int32)
Declaration
public Matrix2DBase(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | width | |
System.Int32 | height |
Fields
Height
Declaration
public readonly int Height
Field Value
Type | Description |
---|---|
System.Int32 |
Width
Declaration
public readonly int Width
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Item[Int32, Int32]
Declaration
public abstract T this[int x, int y] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y |
Property Value
Type | Description |
---|---|
T |
Rank
Declaration
public override int Rank { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Azos.Collections.MatrixBase<T>.Rank
Methods
GetLowerBound(Int32)
Declaration
public override int GetLowerBound(int dimension)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | dimension |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Azos.Collections.MatrixBase<T>.GetLowerBound(System.Int32)
GetMatrixEnumerator()
Declaration
public override IEnumerator<T> GetMatrixEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T> |
Overrides
Azos.Collections.MatrixBase<T>.GetMatrixEnumerator()
GetUpperBound(Int32)
Declaration
public override int GetUpperBound(int dimension)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | dimension |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Azos.Collections.MatrixBase<T>.GetUpperBound(System.Int32)
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Azos.Collections.MatrixBase<T>.ToString()
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IEquatable<T>