The following warnings occurred:
Warning [2] Trying to access array offset on value of type null - Line: 4475 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 4475 errorHandler->error
/inc/class_session.php 505 my_strlen
/inc/class_session.php 360 session->create_session
/inc/class_session.php 75 session->load_guest
/global.php 55 session->init
/printthread.php 17 require_once
Warning [2] Undefined variable $mybb - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Attempt to read property "settings" on null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Undefined variable $forums - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Undefined variable $mybb - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Attempt to read property "settings" on null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Undefined variable $forums - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Undefined array key 4 - Line: 184 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 184 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 1229 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1229 errorHandler->error
/printthread.php 72 forum_permissions
Warning [2] Trying to access array offset on value of type null - Line: 1229 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1229 errorHandler->error
/printthread.php 72 forum_permissions
Warning [2] Undefined array key "canonlyviewownthreads" - Line: 78 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 78 errorHandler->error
Warning [2] Undefined array key "page" - Line: 86 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 86 errorHandler->error
Warning [2] Undefined variable $multipage - Line: 24 - File: printthread.php(163) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/printthread.php(163) : eval()'d code 24 errorHandler->error
/printthread.php 163 eval



jWork.ORG forums
About P1D derivative() method: - Printable Version

+- jWork.ORG forums (https://jwork.org/forum)
+-- Forum: DataMelt (/forumdisplay.php?fid=1)
+--- Forum: Discussion of new DataMelt features (/forumdisplay.php?fid=4)
+--- Thread: About P1D derivative() method: (/showthread.php?tid=65)



About P1D derivative() method: - feilangrenM - 05-13-2014 11:30 AM

Hi,
I have a problem when using P1D derivative() method.

I have a filled P1D instance defined as "P1D p1=new P1D(double[],double[]) " without errors added.

And p1 can be plotted accurately,
but the problem happened when excuting"P1D p2=p1.derivative()" .

This is the wrong message:
java.lang.NullPointerException
at jhplot.P1D.getYupper(P1D.java:4824)
at jhplot.P1D.derivative(P1D.java:5245)
at com.sbl.io.video.ScanTest3.main(ScanTest3.java:134)


I'll be very grateful for your help!
Thanks
ColdWind


RE: About P1D derivative() method: - sergei175 - 05-14-2014 11:11 AM

Hello,

Yes, this is a bug. In fact, the derivative can be calculate only if there are stat. error on Y, but this is not your case.

I've put this correction to the Beta version v1.8

http://jwork.org/scavis/releases


There is a also a small example in

http://jwork.org/scavis/wikidoc/doku.php?id=man:data:data_collections#using_data_collections

that make this plot (attached)

[attachment=2]


RE: About P1D derivative() method: - feilangrenM - 05-23-2014 10:44 AM

(05-14-2014 11:11 AM)sergei175 Wrote:  Hello,

Yes, this is a bug. In fact, the derivative can be calculate only if there are stat. error on Y, but this is not your case.

I've put this correction to the Beta version v1.8

http://jwork.org/scavis/releases


There is a also a small example in

http://jwork.org/scavis/wikidoc/doku.php?id=man:data:data_collections#using_data_collections

that make this plot (attached)

Thank you,Sergei.
Maybe,this is the problem.
But,The "scavis_onejar1.6" used in my JAVA project hasn't been updated.
Can you do something for that?