summaryrefslogtreecommitdiff
path: root/lib/matrix.rb
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-02 17:52:05 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-02 17:52:05 +0000
commita1f22c4f1cfe9549ccc7a4573f453d73e9a168be (patch)
treebfd5c71e7dbe9a4e60ef571402e01f4862e3ecf2 /lib/matrix.rb
parent5a5bf993325993cae4b7a857e40cce1aeebf865d (diff)
lib/matrix.rb: Alias antisymmetric? with skew_symmetric?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r--lib/matrix.rb1
1 files changed, 1 insertions, 0 deletions
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