Commit Graph

5 Commits

Author SHA1 Message Date
Brendan Tracey
975d99cd20 mat,all: Rename IsZero to IsEmpty (#1088)
This avoids the confusion between Zero() and IsZero() which sounds like they should be related
to one another but are not. This makes IsEmpty the counterpart to Reset. Add check for Zero in allMatrix

Fixes #1083.
Updates #1081.
2019-09-15 13:53:29 +01:00
Dan Kortschak
3e852a4e0b diff/fd: don't allocate matrix on nil input to Hessian 2019-04-23 20:19:19 +09:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Brendan Tracey
084f84ee0e Add Laplacian and CrossLaplacian difference functions (#154)
* Add Laplacian and CrossLaplacian difference functions

* use usesOrigin
2017-08-03 21:29:12 -06:00
Brendan Tracey
eeb363530d diff/fd: implement Hessian finite difference, and code cleanups. (#109)
* diff/fd: implement Hessian finite difference, and code cleanups.

This commit primarily adds the Hessian function for finding a finite difference approximation to the Hessian. At the same time, it combines duplicated functionality across the difference routines so that the preludes to all the difference routines look similar
2017-07-28 13:46:27 -06:00