취소
다음에 대한 결과 표시 
표시  만  | 다음에 대한 검색 
다음을 의미합니까? 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
언어 선택 변환 막대 숨기기

new slicing options for matrices

☐ cool new feature
☑ could help many users!

☐ removes a „bug“

☐ nice to have

☐ nobody needs it

 

Indexing/Slicing of Matrices just works with indices which count from the start of the matrix:

What is the JSL Matrix? 

 

counting from the back or leaving the start or end open doesn't seem to work:
Collection of "funny" Jmp newbie questions 

 

my wish:

add the missing functionality such that indexing like this is also possible:

mat[1::-1];
mat[1::];
mat[::-1];
mat[::];

mat[::, x] is already possible as mat[0,x]

 

more wishes submitted by  hogi_2-1702196401638.png

 

10 의견
상태가 변경됨: Acknowledged

Hi @hogi, thank you for your suggestion! We have captured your request and will take it under consideration.

상태가 변경됨: Investigating
 
mia_stephens
Staff

@hogi , this and other approaches for both slicing and masking are being explored to provide more succinct ways to manipulate matrices and lists. The challenge is to make sure we don’t paint ourselves into a corner technically or with the JSL syntax.

jthi
Super User

Also consider negative indexing for lists (similar manner as Python for example).

상태가 변경됨: Under Consideration

@hogi - We have reviewed your request and think it will be a great addition to JMP. This request is in the queue of items to work on in a future release.

hogi
Level XIII

: )

Craige_Hales
Super User

An example of a painted corner: this should have produced an error from day 1:

[1 2 3,4 5 6][-2]
hogi
Level XIII

@Sarah-Sylvestre , could you please add to the wish:

- return "." if the vector has less entries than the index

[1 2 3][4] = .

 

At the moment, JMP throws an error and stops:

hogi_0-1719698078113.png

 

The error message is quite misleading. 
Why does it say invalid subscript (must be number ...)

4 IS a number, right?

 

@hogi Thanks for bringing this one to our attention!  We have fielded this in Technical Support (in lieu of a Wishlist Item).  In any case, your feedback is greatly appreciated. 

copying @Sarah-Sylvestre 

hogi
Level XIII

I hope, other users like it as well - such that it gets implemented in a future release.
Let's see ...:)