Menu

#81 FILLARRAY bug?

closed
nobody
None
5
2002-07-17
2002-07-02
Raymond Toy
No

Macsyma supports this:

array(ar,3)$
arrayfill(ar,[0,1,2,3])$

The equivalent with Maxima is (I think)

array(ar,3)$
fillarray(ar,[0,1,2,3])$

Doing this, however, results in:

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
#:G1752 is not of type (OR NULL VECTOR CONS)

Doing

array(a0,3)$
fillarray(a0,[1.0,2.0,3.0,4.0]);

gives

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
|$a0| is not of type (OR NULL VECTOR CONS)

Discussion

  • Raymond Toy

    Raymond Toy - 2002-07-17
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2002-07-17

    Logged In: YES
    user_id=28849

    Patch from Wolfgang Jenkner applied.

     

Log in to post a comment.