Skip to main content
25-Diamond I
June 22, 2023
Question

Prime bug with "filterNaN"

  • June 22, 2023
  • 1 reply
  • 3037 views

To whoever may be interested

 

Werner_E_0-1687472599426.png

 

 

 

 

1 reply

23-Emerald IV
June 24, 2023

Mathcad 11:

LucMeekes_0-1687612311874.png

PrimeExpress4 (with a correct implementation of the filterNaN function):

LucMeekes_1-1687616882533.png

Luc

Werner_E25-Diamond IAuthor
25-Diamond I
June 24, 2023

PrimeExpress4 (with a correct implementation of the filterNaN function):

🙂

The built-in filterNaN in Prime4 throws the same error as in P9.

Actually the bug is already present in Mathcad 15 😞

23-Emerald IV
June 24, 2023

In that case we know who to blame: PTC was responsible for Mathcad 15 and all versions of Prime.

I'm responsible for the implementation of the filterNaN function in the PrimeExpress library.

Note that it has this peculiarity:

LucMeekes_0-1687627954554.png

(It doesn't do vectors, yet)

I now see how to mend that (the dirty way)

LucMeekes_1-1687628406244.png

Luc