2
$\begingroup$

If I have a vector such as below and want to reduce it mod a number, how can I do this?

V = {{176}, {648}};
MatrixForm[V]
MatrixForm[V, Modulus -> 26]

Both MatrixForms above will output <176, 648> but I would like it to output mod 26 so that I would have <20, 24>

| improve this question | | | | |
$\endgroup$
3
$\begingroup$
V = {{176}, {648}};

MatrixForm[Mod[V, 26]]

enter image description here

| improve this answer | | | | |
$\endgroup$

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