diff --git a/NEWS b/NEWS index 42b304dcf8..3ea63f92d4 100644 --- a/NEWS +++ b/NEWS @@ -311,7 +311,7 @@ sufficient information, see the ChangeLog file or Redmine [New methods] - * Matrix#antisymmetric? + * Matrix#antisymmetric? / #skew_symmetric? [Net] diff --git a/lib/matrix.rb b/lib/matrix.rb index 7639b1de6d..1742847d3b 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -812,6 +812,7 @@ class Matrix end true end + alias_method :skew_symmetric?, :antisymmetric? # # Returns +true+ if this is a unitary matrix