mark reshape_one as ascending & descending
This commit is contained in:
parent
4b38a8cf6b
commit
72cdb0d5fb
@ -177,7 +177,7 @@ NOINLINE Arr* reshape_one(usz nia, B x) {
|
|||||||
NOGC_E;
|
NOGC_E;
|
||||||
}
|
}
|
||||||
#undef FILL
|
#undef FILL
|
||||||
return r;
|
return FLV_SET(r, fl_asc|fl_dsc|fl_squoze);
|
||||||
}
|
}
|
||||||
|
|
||||||
B pair_c1(B t, B x) { return m_vec1(x); }
|
B pair_c1(B t, B x) { return m_vec1(x); }
|
||||||
|
|||||||
@ -190,7 +190,7 @@ B bit_sel(B b, B e0, B e1); // consumes b; b must be bitarr; b⊏e0‿e1
|
|||||||
Arr* allZeroes(usz ia); // ia⥊0 with undefined shape; always produces new array
|
Arr* allZeroes(usz ia); // ia⥊0 with undefined shape; always produces new array
|
||||||
Arr* allOnes(usz ia); // ia⥊1 with undefined shape; always produces new array
|
Arr* allOnes(usz ia); // ia⥊1 with undefined shape; always produces new array
|
||||||
|
|
||||||
Arr* reshape_one(usz nia, B x); // nia⥊<x with undefined shape; consumes x
|
Arr* reshape_one(usz nia, B x); // nia⥊<x with undefined shape, with fl_asc, fl_dsc, and fl_squoze set; consumes x
|
||||||
B i64EachDec(i64 v, B x); // v¨ x; consumes x
|
B i64EachDec(i64 v, B x); // v¨ x; consumes x
|
||||||
|
|
||||||
B bit_negate(B x); // consumes; always produces new array
|
B bit_negate(B x); // consumes; always produces new array
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user