0

When a matrix has a shape (5, 9), is it of shape(5, 9) or with shape(5,9)?

As the shape is an attribute of the matrix, I suppose it is with? Or something else e.g. having?

Which one is appropriate?

  1. a matrix of shape (5, 9)
  2. a matrix with shape (5, 9)
  3. a matrix having shape (5, 9)
  4. Else?
0

1 Answer 1

2

This might be on-topic here; it might be on-topic on Mathematics.

One question there indicates that of is acceptable:

Consider a matrix, A, of shape m × n.

However, both the other options are entirely understandable, and grammatical.

2
  • 1
    Using with is perfectly acceptable, too, at least going by Mathematics Stackexchange Questions. (And as a mathematician, I can't decide which of these two is better.) Commented Jan 19, 2021 at 12:04
  • Thanks, Peter. By all means as that as an answer.
    – Andrew Leach
    Commented Jan 19, 2021 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.