[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:
From: |
Carlo De Falco |
Subject: |
Re: |
Date: |
Sun, 25 Oct 2015 06:13:20 +0000 |
On 25 Oct 2015, at 06:52, Jonathan Camilleri <address@hidden> wrote:
> the tutorial at http://www.mathsisfun.com/algebra/matrix-multiplying.html,
> does not seem to provide the right example, based also on feedback from
> members of this group.
>
> >> A = [1,2,3; 4,5,6];
> >> B = [7,9,11;8,10,12];
> >> C = A*B;
> error: operator *: nonconformant arguments (op1 is 2x3, op2 is 2x3)
>
> I do not have a mathematical proof so I have to question at this stage.
your code does not represent correctly the example at the link you posted.
you transposed the matrix B. If you input B correctly the example in the
tutorial
will work as expected.
c.
- [no subject], Jonathan Camilleri, 2015/10/25
- Re:, Ozzy Lash, 2015/10/25
- Message not available
- Fwd:, Ozzy Lash, 2015/10/25
- Re:,
Carlo De Falco <=
- Re:, Andreas Weber, 2015/10/25
- Prev by Date:
Re:
- Next by Date:
Fwd:
- Previous by thread:
Fwd:
- Next by thread:
Re:
- Index(es):