mirror of
				https://github.com/gonum/gonum.git
				synced 2025-10-31 18:42:45 +08:00 
			
		
		
		
	mat: remove mention of "induced" from mat.Norm docs
This commit is contained in:
		 Vladimir Chalupecky
					Vladimir Chalupecky
				
			
				
					committed by
					
						 Vladimír Chalupecký
						Vladimír Chalupecký
					
				
			
			
				
	
			
			
			 Vladimír Chalupecký
						Vladimír Chalupecký
					
				
			
						parent
						
							cdda7148b1
						
					
				
				
					commit
					4b187d6cf7
				
			| @@ -745,15 +745,13 @@ func Min(a Matrix) float64 { | ||||
| 	} | ||||
| } | ||||
|  | ||||
| // Norm returns the specified (induced) norm of the matrix a. See | ||||
| // https://en.wikipedia.org/wiki/Matrix_norm for the definition of an induced norm. | ||||
| // | ||||
| // Valid norms are: | ||||
| // Norm returns the specified norm of the matrix A. Valid norms are: | ||||
| //  1 - The maximum absolute column sum | ||||
| //    2 - Frobenius norm, the square root of the sum of the squares of the elements. | ||||
| //  Inf - The maximum absolute row sum. | ||||
| //  2 - The Frobenius norm, the square root of the sum of the squares of the elements | ||||
| //  Inf - The maximum absolute row sum | ||||
| // | ||||
| // Norm will panic with ErrNormOrder if an illegal norm order is specified and | ||||
| // with matrix.ErrShape if the matrix has zero size. | ||||
| // with ErrShape if the matrix has zero size. | ||||
| func Norm(a Matrix, norm float64) float64 { | ||||
| 	r, c := a.Dims() | ||||
| 	if r == 0 || c == 0 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user