mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
5a5bf99332
commit
a1f22c4f1c
2 changed files with 2 additions and 1 deletions
2
NEWS
2
NEWS
|
@ -311,7 +311,7 @@ sufficient information, see the ChangeLog file or Redmine
|
|||
|
||||
[New methods]
|
||||
|
||||
* Matrix#antisymmetric?
|
||||
* Matrix#antisymmetric? / #skew_symmetric?
|
||||
|
||||
[Net]
|
||||
|
||||
|
|
|
@ -812,6 +812,7 @@ class Matrix
|
|||
end
|
||||
true
|
||||
end
|
||||
alias_method :skew_symmetric?, :antisymmetric?
|
||||
|
||||
#
|
||||
# Returns +true+ if this is a unitary matrix
|
||||
|
|
Loading…
Add table
Reference in a new issue