Library

Types

Dimensionless.DimBasisType
DimBasis(basis_vectors...) -> DimBasis

Create a dimensional basis for a number of basis_vectors (quantities, units or dimensions). A string identifier can optionally be added to each basis vector.

source

Functions

Dimensionless.dim_matrixFunction
dim_matrix(basis_dims, all_values...)

Return the dimensional matrix for a set of basis dimensions basis_dims and all_values, a set of quantities, units or dimensions.

source
Dimensionless.num_of_dimlessFunction
num_of_dimless(all_vars...)

Return the number of dimensionless numbers that can be constructed for a problem characterized by the variables all_vars.

source
Dimensionless.fac_dimfulFunction
fac_dimful(unit, basis)

Return the scalar, dimensionless factor that a dimensionless value has to be multiplied with in order to translate it into the given unit in the specified basis.

source
Dimensionless.dimfulFunction
dimful(value, unit, basis)

Restore the units of a dimensionless value using a dimensional basis.

source
Dimensionless.change_basisFunction
change_basis(var, basis, new_basis)

Transform the specified quantity or unit var from a current basis to a new_basis.

source
Dimensionless.print_dimlessFunction
print_dimless([io, ]named_dim_vector, basis)

Print the dimensionless number that can be constructed using named_dim_vector in the specified dimensional basis.

source