anchor.diff:          v :> _ Vector
   
   
  -
       /// In-place matrix addition.
       let inline addInPlace (v: #Matrix<_>) (w: #Matrix<_>) = v.Add(w, v)
   
  
positive.code: 
      /// Create a matrix with the array elements on the diagonal.
      let inline ofDiagArray2 (rows: int) (cols: int) (array: 'T array) = Matrix<'T>.Build.SparseOfDiagonalArray(rows, cols, array)
  
  
  /// A module which helps constructing generic diagonal matrices.
  
negative.code: 
      /// Create a matrix with the array elements on the diagonal.
      let inline ofDiagArray2 (rows: int) (cols: int) (array: 'T array) = Matrix<'T>.Build.DenseOfDiagonalArray(rows, cols, array)
  
      /// Create a matrix by appending a list of matrices horizontally, the first matrix on the left.
      let inline append matrices = ofMatrixList2 [matrices]
  
      /// Create a matrix by stacking a list of matrices vertically, the first matrix on the top.
      let inline stack matrices = matrices |> List.map (fun x -> [x]) |> ofMatrixList2
  
  
  /// A module which helps constructing generic sparse matrices.
  