コード例 #1
0
ファイル: MSignal.cs プロジェクト: cephdon/systemsharp
            public InOutIndexer(MSignal <T> MSignal, int index0, int index1)
            {
                Contract.Requires <ArgumentNullException>(MSignal != null, "MSignal");
                Contract.Requires <ArgumentOutOfRangeException>(index0 >= 0, "index0 is less than 0.");
                Contract.Requires <ArgumentOutOfRangeException>(index0 < MSignal.Size0,
                                                                string.Format("index0 value of {0} exceeds signal height of {1}.", index0, MSignal.Size0));
                Contract.Requires <ArgumentOutOfRangeException>(index1 >= 0, "index1 is less than 0.");
                Contract.Requires <ArgumentOutOfRangeException>(index1 < MSignal.Size1,
                                                                string.Format("index value of {0} exceeds signal height of {1}.", index1, MSignal.Size1));

                _MSignal = MSignal;
                _index0  = index0;
                _index1  = index1;
            }
コード例 #2
0
ファイル: MSignal.cs プロジェクト: cephdon/systemsharp
 public InitialValueMatrix(MSignal <T> signal)
 {
     _signal = signal;
 }
コード例 #3
0
ファイル: MSignal.cs プロジェクト: cephdon/systemsharp
 public InOutProxy(MSignal <T> MSignal)
 {
     _MSignal = MSignal;
 }
コード例 #4
0
ファイル: MSignal.cs プロジェクト: cephdon/systemsharp
 public InOutAreaIndexer(MSignal <T> MSignal, Range rowRange, Range colRange)
 {
     _MSignal  = MSignal;
     _rowRange = rowRange;
     _colRange = colRange;
 }
コード例 #5
0
ファイル: MSignal.cs プロジェクト: cephdon/systemsharp
 public InOutColumnIndexer(MSignal <T> MSignal, Range rowRange, int column)
 {
     _MSignal  = MSignal;
     _rowRange = rowRange;
     _column   = column;
 }
コード例 #6
0
ファイル: MSignal.cs プロジェクト: cephdon/systemsharp
 public InOutRowIndexer(MSignal <T> MSignal, int row, Range colRange)
 {
     _MSignal  = MSignal;
     _row      = row;
     _colRange = colRange;
 }