github.com/jingcheng-WU/gonum@v0.9.1-0.20210323123734-f1a2a11a8f7b/mat/consts.go (about)

     1  // Copyright ©2016 The Gonum Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package mat
     6  
     7  // TriKind represents the triangularity of the matrix.
     8  type TriKind bool
     9  
    10  const (
    11  	// Upper specifies an upper triangular matrix.
    12  	Upper TriKind = true
    13  	// Lower specifies a lower triangular matrix.
    14  	Lower TriKind = false
    15  )