public CanvasMatrixDrawer(Canvas canvas, IMatrixVisualizationScheme scheme) { if (canvas == null) { throw new ArgumentNullException("canvas"); } _canvas = canvas; Scheme = scheme; }
protected MatrixControlViewModel(IMatrix matrix, IMatrixVisualizationScheme scheme) { if (matrix == null) { throw new ArgumentNullException("matrix"); } if (scheme == null) { throw new ArgumentNullException("scheme"); } _matrix = matrix; _scheme = scheme; }
public ValueItemViewModel(IMatrixVisualizationScheme scheme, double value) { _scheme = scheme; Value = value; }
public SparseMatrixControlViewModel(SparseMatrix matrix, IMatrixVisualizationScheme scheme) : base(matrix, scheme) { }