From 2bd91fd9f5890f55cec876b1e4acc37df899633b Mon Sep 17 00:00:00 2001 From: davhojt Date: Mon, 13 Jun 2022 00:30:37 +0300 Subject: [PATCH] docs(matrix_ops) correct grammar --- subjects/matrix_ops/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/matrix_ops/README.md b/subjects/matrix_ops/README.md index d78a0ed3..65992ef8 100644 --- a/subjects/matrix_ops/README.md +++ b/subjects/matrix_ops/README.md @@ -2,11 +2,11 @@ ### Instructions -In this exercise you will define the basic operations with a matrix starting by implementing the `std::ops::Add` trait +In this exercise, you will define some basic matrix operations, Implement traits for `Add` and `Sub` -Define the operation + (by defining the trait std::ops::Add) for two matrices. Remember that two matrices can only be added if they have the same size. Therefore the add method must handle the possibility of failure by returning an Option. +Remember that two matrices can only be added or subtracted if they have they have the same dimensions. Therefore, you must handle the possibility of failure by returning an `Option`. -You will be using your own `Matrix` and `Scalar` defined in the `matrix` and the `lalgebra_scalar` exercises. +You will be reusing your `Matrix` and `Scalar` structures defined in the [matrix](../matrix/README.md) and [lalgebra_scalar](../lalgebra_scalar/README.md) exercises. ### Expected Function