summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-02 05:43:29 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-02 05:43:29 +0000
commitec8b5d06257830ac277e3ea82dacd3761d6771ee (patch)
tree07e23b91b4461c23bbdec0c09366a96eb7c886c5 /NEWS
parentc8e50abfe85fc5787b2b399ff00cf56d86dc7c50 (diff)
* NEWS: List all changes to lib/matrix
* lib/matrix.rb: Improve doc and style. Trivial optimizations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS24
1 files changed, 24 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 65ef38f271..c42e51f128 100644
--- a/NEWS
+++ b/NEWS
@@ -224,6 +224,30 @@ with all sufficient information, see the ChangeLog file.
* do not raise ShiftingError if an aged file already exists.
(no ShiftingError will be raised from 1.2.7, just warn() instead)
+* matrix
+ * API change to adhere strictly to mathematical definitions:
+ * Matrices must now be rectangular.
+ * trace, regular?, singular? are defined only for square matrices
+ * support for empty matrices
+ * all integer matrices now have the right determinant (also an integer)
+
+ * Matrix and Vector include Enumerable.
+
+ * new methods:
+ * Matrix.build
+ * Matrix.empty
+ * Matrix#conj
+ * Matrix#conjugate
+ * Matrix#each
+ * Matrix#each_with_index
+ * Matrix#empty?
+ * Matrix#imag
+ * Matrix#imaginary
+ * Matrix#real
+ * Matrix#real?
+ * Matrix#rect
+ * Matrix#rectangular
+
* net/http
* merged net/https.