[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with symbolic
From: |
José Abílio Matos |
Subject: |
Re: Issues with symbolic |
Date: |
Sun, 14 Apr 2019 13:56:05 +0100 |
On Saturday, 13 April 2019 16.26.33 WEST José Abílio Matos wrote:
> The second issue came when I was switching between double precision and vpa
> and it can be seen in the code below:
>
> # Double precision (works)
>
> N = zeros(3);
> N (1:2:3, 1) = 1:2:3
>
> # vpa (fails)
>
> N = sym(zeros(3))
> N(1:2:3,1) = sym(1:2:3)
>
>
> The vpa case fails with
> error: A(I,J,...) = X: dimensions mismatch
> error: called from
> mat_replace at line 128 column 7
> subsasgn at line 101 column 13
>
> The obvious fix is, of course, to use the transpose:
> N(1:2:3,1) = (sym(1:2:3))'
>
> My question are these issues worth to be reported to symbolics?
>
> Best regards,
> --
> José Matos
For archive purposes:
After a message exchange with Colin I have reported this here:
https://github.com/cbm755/octsympy/issues/963
Regards,
--
José Matos