@@ -34,6 +34,7 @@ type CSRMatrix<'a>(csrTuples: CSRFormat<'a>) =
3434 " vector"
3535 ( sprintf " Argument has invalid dimension. Need %i , but given %i " csrMatrixColumnCount vectorLength)
3636
37+ // let (BinaryOp op) = context.Times
3738 let plus = !> context.PlusMonoid.Append
3839 let mult = !> context.Times
3940
@@ -78,36 +79,36 @@ type CSRMatrix<'a>(csrTuples: CSRFormat<'a>) =
7879
7980 override this.RowCount = rowCount
8081 override this.ColumnCount = columnCount
82+ override this.Mask = failwith " Not Implemented"
8183
8284 override this.Item
83- with get ( mask : Mask2D option ) : Matrix < 'a > = upcast CSRMatrix < 'a >()
84- and set ( mask : Mask2D option ) ( value : Matrix < 'a >) = ()
85+ with get ( mask : Mask2D option ) : Matrix < 'a > = failwith " Not Implemented "
86+ and set ( mask : Mask2D option ) ( value : Matrix < 'a >) = failwith " Not Implemented "
8587 override this.Item
86- with get ( vectorMask : Mask1D option , colIdx : int ) : Vector < 'a > = upcast DenseVector < 'a >()
87- and set ( vectorMask : Mask1D option , colIdx : int ) ( value : Vector < 'a >) = ()
88+ with get ( vectorMask : Mask1D option , colIdx : int ) : Vector < 'a > = failwith " Not Implemented "
89+ and set ( vectorMask : Mask1D option , colIdx : int ) ( value : Vector < 'a >) = failwith " Not Implemented "
8890 override this.Item
89- with get ( rowIdx : int , vectorMask : Mask1D option ) : Vector < 'a > = upcast DenseVector < 'a >()
90- and set ( rowIdx : int , vectorMask : Mask1D option ) ( value : Vector < 'a >) = ()
91+ with get ( rowIdx : int , vectorMask : Mask1D option ) : Vector < 'a > = failwith " Not Implemented "
92+ and set ( rowIdx : int , vectorMask : Mask1D option ) ( value : Vector < 'a >) = failwith " Not Implemented "
9193 override this.Item
92- with get ( rowIdx : int , colIdx : int ) : Scalar < 'a > = Scalar Unchecked.defaultof< 'a>
93- and set ( rowIdx : int , colIdx : int ) ( value : Scalar < 'a >) = ()
94-
94+ with get ( rowIdx : int , colIdx : int ) : Scalar < 'a > = failwith " Not Implemented"
95+ and set ( rowIdx : int , colIdx : int ) ( value : Scalar < 'a >) = failwith " Not Implemented"
9596 override this.Item
96- with set ( mask : Mask2D option ) ( value : Scalar < 'a >) = ()
97+ with set ( mask : Mask2D option ) ( value : Scalar < 'a >) = failwith " Not Implemented "
9798 override this.Item
98- with set ( vectorMask : Mask1D option , colIdx : int ) ( value : Scalar < 'a >) = ()
99+ with set ( vectorMask : Mask1D option , colIdx : int ) ( value : Scalar < 'a >) = failwith " Not Implemented "
99100 override this.Item
100- with set ( rowIdx : int , vectorMask : Mask1D option ) ( value : Scalar < 'a >) = ()
101-
102- override this.Mxm a b c = upcast CSRMatrix < 'a >()
103- override this.Mxv a b c = upcast DenseVector < 'a >()
104- override this.EWiseAdd a b c = upcast CSRMatrix < 'a >()
105- override this.EWiseMult a b c = upcast CSRMatrix < 'a >()
106- override this.Apply < 'b > a b = upcast CSRMatrix < 'b >()
107- override this.ReduceIn a b = upcast DenseVector < 'a >()
108- override this.ReduceOut a b = upcast DenseVector < 'a >()
109- override this.T = upcast CSRMatrix < 'a >()
110-
111- override this.EWiseAddInplace a b c = ()
112- override this.EWiseMultInplace a b c = ()
113- override this.ApplyInplace a b = ()
101+ with set ( rowIdx : int , vectorMask : Mask1D option ) ( value : Scalar < 'a >) = failwith " Not Implemented "
102+
103+ override this.Mxm a b c = failwith " Not Implemented "
104+ override this.Mxv a b c = failwith " Not Implemented "
105+ override this.EWiseAdd a b c = failwith " Not Implemented "
106+ override this.EWiseMult a b c = failwith " Not Implemented "
107+ override this.Apply a b = failwith " Not Implemented "
108+ override this.ReduceIn a b = failwith " Not Implemented "
109+ override this.ReduceOut a b = failwith " Not Implemented "
110+ override this.T = failwith " Not Implemented "
111+
112+ override this.EWiseAddInplace a b c = failwith " Not Implemented "
113+ override this.EWiseMultInplace a b c = failwith " Not Implemented "
114+ override this.ApplyInplace a b = failwith " Not Implemented "
0 commit comments