mirror of
https://github.com/gonum/gonum.git
synced 2025-10-25 16:20:25 +08:00
Changed to XxxDim for dimensions
This commit is contained in:
17
unittype.go
17
unittype.go
@@ -15,16 +15,15 @@ type Dimension int
|
||||
|
||||
const (
|
||||
// SI Base Units
|
||||
Chemamt Dimension = iota // e.g. mol
|
||||
Current
|
||||
Length
|
||||
Luminosity
|
||||
Mass
|
||||
Temperature
|
||||
Time
|
||||
CurrentDim Dimension = iota
|
||||
LengthDim
|
||||
LuminosityDim
|
||||
MassDim
|
||||
TemperatureDim
|
||||
TimeDim
|
||||
// Start of other SI Units
|
||||
Angle // e.g. radians
|
||||
lastPackageDimension // Used in create dimension
|
||||
AngleDim // e.g. radians
|
||||
lastPackageDimensionDim // Used in create dimension
|
||||
)
|
||||
|
||||
// Dimensions represent the dimensionality of the unit in powers
|
||||
|
||||
Reference in New Issue
Block a user