bugJACAL symbolic mathematics program - Bugs: bug #27502, Vector addition produces...

 
 

bug #27502: Vector addition produces non-vector (flattened bunch)

Submitter:  Wim Lewis <wiml>
Submitted:  Wed 23 Sep 2009 05:45:39 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jaffer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 14 Apr 2019 01:53:44 AM UTC, comment #1: 

Fixed in jacal-1c5.
The development version is updated:
http://groups.csail.mit.edu/mac/ftpdir/users/jaffer/jacal.zip

Also, the CVS repository is updated:
https://savannah.gnu.org/cvs/?group=jacal

Aubrey Jaffer <jaffer>
Group administrator
Wed 23 Sep 2009 05:45:39 AM UTC, original submission:  

Adding a pair of vectors (n by 1 matrices) produces a flattened bunch (or a 1 by n matrix). I'd expect it to produce another vector:


e0 : a : [[p], [q], [r]];

   [p]
   [ ]
a: [q]
   [ ]
   [r]

e0 : b : [[s], [t], [u]];

   [s]
   [ ]
b: [t]
   [ ]
   [u]

e0 : a + b;

e0: [p + s, q + t, r + u]


On the other hand, adding (for example) two 3x2 matrices does produce the expected 3x2 matrix as a result; this problem seems to be specific to vectors.

This is with JACAL 1c1 (and scm 5e6).

Wim Lewis <wiml>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jaffer (Updated the item)
  • -email is unavailable- added by wiml (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-14 jaffer StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2009-10-12 jaffer StatusNone In Progress
        Assigned toNone jaffer

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code