mirror of
https://github.com/gonum/gonum.git
synced 2025-10-27 09:11:08 +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 (
|
const (
|
||||||
// SI Base Units
|
// SI Base Units
|
||||||
Chemamt Dimension = iota // e.g. mol
|
CurrentDim Dimension = iota
|
||||||
Current
|
LengthDim
|
||||||
Length
|
LuminosityDim
|
||||||
Luminosity
|
MassDim
|
||||||
Mass
|
TemperatureDim
|
||||||
Temperature
|
TimeDim
|
||||||
Time
|
|
||||||
// Start of other SI Units
|
// Start of other SI Units
|
||||||
Angle // e.g. radians
|
AngleDim // e.g. radians
|
||||||
lastPackageDimension // Used in create dimension
|
lastPackageDimensionDim // Used in create dimension
|
||||||
)
|
)
|
||||||
|
|
||||||
// Dimensions represent the dimensionality of the unit in powers
|
// Dimensions represent the dimensionality of the unit in powers
|
||||||
|
|||||||
Reference in New Issue
Block a user