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
NEWS
2
NEWS
@ -311,7 +311,7 @@ sufficient information, see the ChangeLog file or Redmine
|
|||||||
|
|
||||||
[New methods]
|
[New methods]
|
||||||
|
|
||||||
* Matrix#antisymmetric?
|
* Matrix#antisymmetric? / #skew_symmetric?
|
||||||
|
|
||||||
[Net]
|
[Net]
|
||||||
|
|
||||||
|
@ -812,6 +812,7 @@ class Matrix
|
|||||||
end
|
end
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
alias_method :skew_symmetric?, :antisymmetric?
|
||||||
|
|
||||||
#
|
#
|
||||||
# Returns +true+ if this is a unitary matrix
|
# Returns +true+ if this is a unitary matrix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user