With your example `t[2]` is `[2]`, a 1x1 matrix. (Well, a list of one element). I think `unknown` is a good answer. Perhaps you really wanted `is(t[2][1]>0)`. This returns `true`.
---
**[bugs:#4641] is does not work**
**Status:** open
**Group:** None
**Created:** Mon Dec 01, 2025 04:03 PM UTC by dan hayes
**Last Updated:** Mon Dec 01, 2025 04:03 PM UTC
**Owner:** nobody
build_info() or bug_report()
"branch_5_44_base_231_g5c411f69f",timestamp="2021-01-12 23:51:42",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.0.0",maxima_userdir="C:/Users/zmth1/maxima",maxima_tempdir="C:/Users/zmth1/AppData/Local/Temp",maxima_objdir="C:/Users/zmth1/maxima/binary/branch_5_44_base_231_g5c411f69f/sbcl/2_0_0",maxima_frontend="wxMaxima",maxima_frontend_version="20.12.2-DevelopmentSnapshot_MSW_OpenMP201511+Locks")
(t:matrix([1],[2]),t,t[2],is( t[2]>0));
and it comes back with unknown
---
Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |