mirror of
https://github.com/gonum/gonum.git
synced 2025-10-16 04:00:48 +08:00
mat: fix comment for untransposeTri
This commit is contained in:

committed by
Vladimír Chalupecký

parent
eb27e5325c
commit
5159fe57ba
@@ -257,8 +257,8 @@ func (t *TriDense) IsEmpty() bool {
|
||||
return t.mat.Stride == 0
|
||||
}
|
||||
|
||||
// untranspose untransposes a matrix if applicable. If a is an Untransposer, then
|
||||
// untranspose returns the underlying matrix and true. If it is not, then it returns
|
||||
// untransposeTri untransposes a matrix if applicable. If a is an UntransposeTrier, then
|
||||
// untransposeTri returns the underlying matrix and true. If it is not, then it returns
|
||||
// the input matrix and false.
|
||||
func untransposeTri(a Triangular) (Triangular, bool) {
|
||||
if ut, ok := a.(UntransposeTrier); ok {
|
||||
|
Reference in New Issue
Block a user