search for: altreal_is_sorted_default

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

2019 Sep 03
2
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
Hi, I would like to figure out the meaning of the return value of these two functions. Here are the default definitions I find from R source code: static int altreal_Is_sorted_default(SEXP x) { return UNKNOWN_SORTEDNESS; } static int altreal_No_NA_default(SEXP x) { return 0; } I guess the macro *UNKNOWN_SORTEDNESS *in *Is_sorted* and 0 in *No_NA *simply means unknown sorted/NA status of the vector, so R will loop over the vector and find the answer. However, what should we ret...
2019 Sep 04
0
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
...Jiefei On Tue, Sep 3, 2019 at 2:49 PM Wang Jiefei <szwjf08 at gmail.com> wrote: > Hi, > > > > I would like to figure out the meaning of the return value of these two > functions. Here are the default definitions I find from R source code: > > > > static int altreal_Is_sorted_default(SEXP x) { return UNKNOWN_SORTEDNESS; > } > > static int altreal_No_NA_default(SEXP x) { return 0; } > > I guess the macro *UNKNOWN_SORTEDNESS *in *Is_sorted* and 0 in *No_NA *simply means > unknown sorted/NA status of the vector, so R will loop over the vector and > find the an...
2019 Sep 11
0
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
...Best, ~G On Wed, Sep 11, 2019 at 12:04 AM Wang Jiefei <szwjf08 at gmail.com> wrote: > Hi, > > > > I would like to figure out the meaning of the return value of these two > functions. Here are the default definitions I find from R source code: > > > > static int altreal_Is_sorted_default(SEXP x) { return UNKNOWN_SORTEDNESS; } > > static int altreal_No_NA_default(SEXP x) { return 0; } > > I guess the macro *UNKNOWN_SORTEDNESS *in *Is_sorted* and 0 in *No_NA > *simply means > unknown sorted/NA status of the vector, so R will loop over the vector and > find the an...
2019 Sep 11
1
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
...ang Jiefei <szwjf08 at gmail.com> wrote: > >> Hi, >> >> >> >> I would like to figure out the meaning of the return value of these two >> functions. Here are the default definitions I find from R source code: >> >> >> >> static int altreal_Is_sorted_default(SEXP x) { return UNKNOWN_SORTEDNESS; >> } >> >> static int altreal_No_NA_default(SEXP x) { return 0; } >> >> I guess the macro *UNKNOWN_SORTEDNESS *in *Is_sorted* and 0 in *No_NA >> *simply means >> unknown sorted/NA status of the vector, so R will loop ove...