Commit Graph

4896 Commits

Author SHA1 Message Date
kortschak
0711419a7a Make a safer comparison for 32 bit architectures
This should not be an issue, but do the right thing anyway.
2013-09-15 18:18:10 +09:30
kortschak
364e448f63 Allow ULP near equality to span zero 2013-09-14 22:41:15 +09:30
kortschak
8aa867a7b9 Clean up relative equality function
* Use a properly named constant for min normal.
* Remove unnecessary conditions.
* Improve comment.
2013-09-14 14:23:12 +09:30
kortschak
644d4858ae Fix punctuation and some grammar 2013-09-14 11:43:25 +09:30
kortschak
6093492a75 Fix relative equality function 2013-09-14 11:35:13 +09:30
kortschak
b514757f00 Add more tests to relative equality test
Many fail.
2013-09-14 10:24:14 +09:30
kortschak
bbaf28c0b1 Simplify logic and add exact equality tests
We put exact equality tests before calls to math functions. This
probably warrants some benchmarks on real world data.
2013-09-14 09:53:34 +09:30
kortschak
3ce19efd05 Add EqualWithinULP
This does not include the relative equality test proposed in the
gonum-dev post as that can be composed in.
2013-09-14 09:46:30 +09:30
btracey
25c014cb5d Changed EqualsXxx to EqualXxx to follow the standard library 2013-08-23 12:18:43 -07:00
btracey
3a20a5c646 Changed EqualLen to EqualLengths 2013-08-23 12:06:38 -07:00
btracey
c4a833b927 Added approxequals and tests 2013-08-22 16:27:16 -07:00
btracey
bc4f13b1ba Changed equals signature 2013-08-22 16:02:41 -07:00
btracey
62326e429d Added AddScaled and added AddScaledTo 2013-08-18 10:23:06 -07:00
btracey
6057d7174c Added div and divto 2013-08-18 09:44:31 -07:00
btracey
315c078517 Added test for MulTo 2013-08-16 13:05:41 -07:00
btracey
3b607eee11 Added test for Mul 2013-08-16 13:00:56 -07:00
btracey
c445087eb0 Fixed minor bug 2013-08-16 12:56:33 -07:00
btracey
80c75ed891 Added Mul function 2013-08-16 12:15:28 -07:00
btracey
e901b24e0e Removed creation of data in SubTo 2013-08-14 17:42:30 -07:00
kortschak
34da1fe0fb Change preference for T/TView to Tcopy/T
Cheaper is easier.
2013-08-12 10:00:10 +09:30
kortschak
e886f11015 Improve wording for Stack/Augment comment 2013-08-12 09:41:59 +09:30
kortschak
c37eb1b393 Allow callers to know number of elements copied
Copy does not fail and (reflecting the built in) copies the minimum
range of the source and destination. Return the number of rows and
columns copied so the caller can determine whether to fail.
2013-08-11 09:44:53 +09:30
kortschak
f75c02d0c0 Changes suggested by Brendan Tracey. 2013-08-11 09:42:49 +09:30
kortschak
b52e91946c Clean up imports 2013-08-11 09:37:50 +09:30
btracey
81ad387432 Rolled back change to panic 2013-08-10 01:41:25 -07:00
btracey
b5838aeabc Removed 'of c' in cblas: index out of range 2013-08-09 21:18:50 -07:00
kortschak
57a889ea68 Initial suite of tests
This covers basic arithmatic for RowMajor Dense only.
2013-08-10 00:12:36 +09:30
kortschak
006715a786 Add The University of Adelaide to AUTHORS
This is for work performed by kortschak on matrix.
2013-08-09 14:21:21 +09:30
kortschak
2a174ff682 Add copyright notices 2013-08-09 14:19:13 +09:30
kortschak
5faba4f269 First commit of code to gonum/matrix
For history prior to this commit, please see log at
github.com/kortschak/matrix.
2013-08-09 13:22:09 +09:30
kortschak
31a101b8a0 Initial commit for gonum/matrix
Code is largely untested and not for public consumption at this stage.
2013-08-09 13:18:22 +09:30
kortschak
ceb813a5e1 Add one more panic message change 2013-08-09 10:24:09 +09:30
kortschak
a12baa5f7b Make panic messages more informative
Let the client know whic parameter was incorrect.
2013-08-09 10:16:21 +09:30
kortschak
8f04901648 Fix range check for Level two vectors
One of the most enjoyable things to do on a Friday morning is to peruse
BLAS code.
2013-08-09 10:01:02 +09:30
kortschak
b8c8fe3bd5 Allow gc to determine the CFLAGS
This was fixed in biogo.blas, clobbered by backporting this code to
there and the refixed. Lets complete the cycle!
2013-08-09 09:30:47 +09:30
kortschak
8f22921a6c Add build flags for darwin 2013-08-09 06:58:22 +09:30
kortschak
268bee57b7 Fix bounds check error
Identified by running Dave Neumann's tests using gonum/blas{,/cblas}.
2013-08-08 15:11:18 +09:30
kortschak
9240b772aa Reduce documentation noise
People should not be drawn to the values themselves, so use iota.
2013-08-08 15:10:36 +09:30
Jragonmiris
03d42e89ee Bug fixes 2013-08-01 20:28:32 -07:00
Jragonmiris
4265018008 Added a pseudomutable graph with a combination of cutter and augmented 2013-08-01 20:24:27 -07:00
Jragonmiris
2429337130 Bug fixes 2013-08-01 16:10:19 -07:00
Jragonmiris
c8a538045f Added some util functions 2013-08-01 16:02:15 -07:00
Jragonmiris
be3982997e Basic augmented graph structure, added Node interface (but haven't implemented it yet) 2013-08-01 15:46:15 -07:00
Jragonmiris
9c13396cde Basic augmented graph structure, added Node interface (but haven't implemented it yet) 2013-08-01 15:46:11 -07:00
Jragonmiris
d45a111dd0 Oops... thanks Travis-CI! Fixed build errors 2013-07-31 19:46:15 -07:00
Jragonmiris
032b2605c3 Added cutter graph 2013-07-31 19:42:01 -07:00
Jragonmiris
194a06a51e Reorganized package 2013-07-30 20:13:52 -07:00
Jragonmiris
94fc4e9a16 Fixed .travis.yml on gofmt 2013-07-30 11:30:03 -07:00
Jragonmiris
dacb4d2445 Fixed .travis.yml on gofmt 2013-07-30 11:29:16 -07:00
Jragonmiris
3e9d0b51f0 Updated .travis 2013-07-30 07:15:54 -07:00