| 1 |
# Generated by using Rcpp::compileAttributes() -> do not edit by hand |
| 2 |
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 |
| 3 |
|
| 4 |
parse_unit <- function(x, strict = FALSE) { |
| 5 |
.Call('_units_parse_unit', PACKAGE = 'units', x, strict) |
| 6 |
} |
| 7 |
|
| 8 |
ud_exit <- function() { |
| 9 |
invisible(.Call('_units_ud_exit', PACKAGE = 'units')) |
| 10 |
} |
| 11 |
|
| 12 |
ud_init <- function(path) { |
| 13 |
invisible(.Call('_units_ud_init', PACKAGE = 'units', path)) |
| 14 |
} |
| 15 |
|
| 16 |
ud_set_encoding <- function(enc_str) { |
| 17 |
invisible(.Call('_units_ud_set_encoding', PACKAGE = 'units', enc_str)) |
| 18 |
} |
| 19 |
|
| 20 |
ud_compare <- function(x, y, xn, yn) { |
| 21 |
.Call('_units_ud_compare', PACKAGE = 'units', x, y, xn, yn) |
| 22 |
} |
| 23 |
|
| 24 |
ud_convertible <- function(from, to) { |
| 25 |
.Call('_units_ud_convertible', PACKAGE = 'units', from, to) |
| 26 |
} |
| 27 |
|
| 28 |
ud_convert_doubles <- function(x, from, to) { |
| 29 |
.Call('_units_ud_convert_doubles', PACKAGE = 'units', x, from, to) |
| 30 |
} |
| 31 |
|
| 32 |
ud_map_names <- function(names, unit) { |
| 33 |
invisible(.Call('_units_ud_map_names', PACKAGE = 'units', names, unit)) |
| 34 |
} |
| 35 |
|
| 36 |
ud_unmap_names <- function(names) { |
| 37 |
invisible(.Call('_units_ud_unmap_names', PACKAGE = 'units', names)) |
| 38 |
} |
| 39 |
|
| 40 |
ud_map_symbols <- function(symbols, unit) { |
| 41 |
invisible(.Call('_units_ud_map_symbols', PACKAGE = 'units', symbols, unit)) |
| 42 |
} |
| 43 |
|
| 44 |
ud_unmap_symbols <- function(symbols) { |
| 45 |
invisible(.Call('_units_ud_unmap_symbols', PACKAGE = 'units', symbols)) |
| 46 |
} |
| 47 |
|
| 48 |
R_ut_get_dimensionless_unit_one <- function() { |
| 49 |
.Call('_units_R_ut_get_dimensionless_unit_one', PACKAGE = 'units') |
| 50 |
} |
| 51 |
|
| 52 |
R_ut_new_base_unit <- function() { |
| 53 |
.Call('_units_R_ut_new_base_unit', PACKAGE = 'units') |
| 54 |
} |
| 55 |
|
| 56 |
R_ut_new_dimensionless_unit <- function() { |
| 57 |
.Call('_units_R_ut_new_dimensionless_unit', PACKAGE = 'units') |
| 58 |
} |
| 59 |
|
| 60 |
R_ut_get_name <- function(unit) { |
| 61 |
.Call('_units_R_ut_get_name', PACKAGE = 'units', unit) |
| 62 |
} |
| 63 |
|
| 64 |
R_ut_get_symbol <- function(unit) { |
| 65 |
.Call('_units_R_ut_get_symbol', PACKAGE = 'units', unit) |
| 66 |
} |
| 67 |
|
| 68 |
R_ut_scale <- function(unit, factor) { |
| 69 |
.Call('_units_R_ut_scale', PACKAGE = 'units', unit, factor) |
| 70 |
} |
| 71 |
|
| 72 |
R_ut_offset <- function(unit, origin) { |
| 73 |
.Call('_units_R_ut_offset', PACKAGE = 'units', unit, origin) |
| 74 |
} |
| 75 |
|
| 76 |
R_ut_multiply <- function(a, b) { |
| 77 |
.Call('_units_R_ut_multiply', PACKAGE = 'units', a, b) |
| 78 |
} |
| 79 |
|
| 80 |
R_ut_invert <- function(a) { |
| 81 |
.Call('_units_R_ut_invert', PACKAGE = 'units', a) |
| 82 |
} |
| 83 |
|
| 84 |
R_ut_divide <- function(numer, denom) { |
| 85 |
.Call('_units_R_ut_divide', PACKAGE = 'units', numer, denom) |
| 86 |
} |
| 87 |
|
| 88 |
R_ut_raise <- function(a, i) { |
| 89 |
.Call('_units_R_ut_raise', PACKAGE = 'units', a, i) |
| 90 |
} |
| 91 |
|
| 92 |
R_ut_root <- function(a, i) { |
| 93 |
.Call('_units_R_ut_root', PACKAGE = 'units', a, i) |
| 94 |
} |
| 95 |
|
| 96 |
R_ut_log <- function(a, base) { |
| 97 |
.Call('_units_R_ut_log', PACKAGE = 'units', a, base) |
| 98 |
} |
| 99 |
|
| 100 |
R_ut_parse <- function(name) { |
| 101 |
.Call('_units_R_ut_parse', PACKAGE = 'units', name) |
| 102 |
} |
| 103 |
|
| 104 |
R_ut_format <- function(p, names = FALSE, definition = FALSE, ascii = FALSE) { |
| 105 |
.Call('_units_R_ut_format', PACKAGE = 'units', p, names, definition, ascii) |
| 106 |
} |
| 107 |
|