search for: integer_is_sorted

Displaying 4 results from an estimated 4 matches for "integer_is_sorted".

2019 Jun 04
2
[External] undefined symbol errors when compiling package using ALTREP API
...EP vectors. > > Basically any time you find yourself wanting to check if something is an > ALTREP and if so, call a specific ALT*_BLAH method, the intention is that > there should be a universal API point you can call which will work for both > types. > > This is true, e.g., of INTEGER_IS_SORTED (which will always work and just > returns UNKNOWN_SORTEDNESS, ie INT_MIN, ie NA_INTEGER for non-ALTREPs)., > for REAL_GET_REGION, (which populates a double* with the requested values > for both standard and ALTREP REALSXPs), etc. > > Does the above make sense? > > If you feel...
2019 Jun 04
2
[External] undefined symbol errors when compiling package using ALTREP API
thanks for clearing that up, so these methods are actually not meant to be exported on Windows and OSX? Some of the ALTREP methods that now use 'attribute_hidden' would be very useful to packages that aim to be ALTREP aware, should the currently (exported) API be considered final? thanks for your time & best, Mark On Tue, Jun 4, 2019 at 6:52 PM Tierney, Luke <luke-tierney at
2019 Jun 04
0
[External] undefined symbol errors when compiling package using ALTREP API
...vectors and work safely for ALTREP vectors. Basically any time you find yourself wanting to check if something is an ALTREP and if so, call a specific ALT*_BLAH method, the intention is that there should be a universal API point you can call which will work for both types. This is true, e.g., of INTEGER_IS_SORTED (which will always work and just returns UNKNOWN_SORTEDNESS, ie INT_MIN, ie NA_INTEGER for non-ALTREPs)., for REAL_GET_REGION, (which populates a double* with the requested values for both standard and ALTREP REALSXPs), etc. Does the above make sense? If you feel a universal API point is missing,...
2019 Jun 05
0
[External] undefined symbol errors when compiling package using ALTREP API
...; Basically any time you find yourself wanting to check if something is an >> ALTREP and if so, call a specific ALT*_BLAH method, the intention is that >> there should be a universal API point you can call which will work for both >> types. >> >> This is true, e.g., of INTEGER_IS_SORTED (which will always work and just >> returns UNKNOWN_SORTEDNESS, ie INT_MIN, ie NA_INTEGER for non-ALTREPs)., >> for REAL_GET_REGION, (which populates a double* with the requested values >> for both standard and ALTREP REALSXPs), etc. >> >> Does the above make sense? &g...