abs(x)
i32
i64
f32
f64
simd_vector<i32>
simd_vector<i64>
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<int64_t, int64_t>("abs(x)", {"x"});
max(x,y)
i8
i16
i32
i64
u8
u16
u32
u64
f32
f64
simd_vector<i8>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<f32>
simd_vector<f64>
simd_vector<u8>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
- throw
rapidudf::SizeMismatchException
when size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<int64_t, int64_t>("max(x,y)", {"x", "y"});
min(x,y)
i8
i16
i32
i64
u8
u16
u32
u64
f32
f64
simd_vector<i8>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<f32>
simd_vector<f64>
simd_vector<u8>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
- throw
rapidudf::SizeMismatchException
when size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<int64_t, int64_t>("min(x,y)", {"x", "y"});
pow(x,y)
f32
f64
simd_vector<f32>
simd_vector<f64>
- throw
rapidudf::SizeMismatchException
when size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("pow(x,y)", {"x", "y"});
ceil(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("ceil(x)", {"x"});
floor(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("floor(x)", {"x"});
round(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("round(x)", {"x"});
rint(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("rint(x)", {"x"});
trunc(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("trunc(x)", {"x"});
erf(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("erf(x)", {"x"});
erfc(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("erfc(x)", {"x"});
exp(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("exp(x)", {"x"});
expm1(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("expm1(x)", {"x"});
exp2(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("exp2(x)", {"x"});
sqrt(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("sqrt(x)", {"x"});
log(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("log(x)", {"x"});
log2(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("log2(x)", {"x"});
log10(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("log10(x)", {"x"});
log1p(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("log1p(x)", {"x"});
sin(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("sin(x)", {"x"});
cos(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("cos(x)", {"x"});
tan(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("tan(x)", {"x"});
asin(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("asin(x)", {"x"});
acos(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("acos(x)", {"x"});
atan(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("atan(x)", {"x"});
sinh(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("sinh(x)", {"x"});
cosh(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("cosh(x)", {"x"});
tanh(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("tanh(x)", {"x"});
asinh(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("asinh(x)", {"x"});
acosh(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("acosh(x)", {"x"});
atanh(x)
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float>("atanh(x)", {"x"});
atan2(x,y)
f32
f64
simd_vector<f32>
simd_vector<f64>
- throw
rapidudf::SizeMismatchException
when size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("atan2(x,y)", {"x", "y"});
hypot(x,y)
f32
f64
simd_vector<f32>
simd_vector<f64>
- throw
rapidudf::SizeMismatchException
when size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("hypot(x,y)", {"x", "y"});
sum(x)
Returns the sum of all
simd_vector<i8>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<f32>
simd_vector<f64>
simd_vector<u8>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, simd::Vector<float>>("sum(x)", {"x"});
dot(x,y )
Returns sum{x[i] * y[i]} for floating-point inputs
simd_vector<f32>
simd_vector<f64>
- throw
rapidudf::SizeMismatchException
when vector size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, simd::Vector<float>,simd::Vector<float>>("dot(x,y)", {"x", "y"});
iota(Start, N)
Returns vector with size N
where the index i has the given value of Start+i
simd_vector<i8>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<f32>
simd_vector<f64>
simd_vector<u8>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<simd::Vector<uint32_t>>("iota(1_u32,100)", {});
clamp(x,y,z)
i8
i16
i32
i64
u8
u16
u32
u64
f32
f64
simd_vector<i8>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<f32>
simd_vector<f64>
simd_vector<u8>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
- throw
rapidudf::SizeMismatchException
when vector size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("clamp(x,y,z)", {"x", "y", "z"});
fma(x,y,z)
f32
f64
simd_vector<f32>
simd_vector<f64>
- throw
rapidudf::SizeMismatchException
when vector size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("fma(x,y,z)", {"x", "y", "z"});
fms(a,b,c)
a[i] * b[i] - c[i]
f32
f64
simd_vector<f32>
simd_vector<f64>
- throw
rapidudf::SizeMismatchException
when vector size mismatch
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("fms(x,y,z)", {"x", "y", "z"});
fnma(a,b,c)
-a[i] * b[i] + c[i]
- throw
rapidudf::SizeMismatchException
when vector size mismatch
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("fnma(x,y,z)", {"x", "y", "z"});
fnms(a,b,c)
-a[i] * b[i] - c[i]
- throw
rapidudf::SizeMismatchException
when vector size mismatch
f32
f64
simd_vector<f32>
simd_vector<f64>
JitCompiler compiler;
auto result = compiler.CompileExpression<float, float, float>("fnms(x,y,z)", {"x", "y", "z"});
sort(vec,descending)
void
- throw
rapidudf::ReadonlyException
when vector is readonly
simd_vector<f32>
simd_vector<f64>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<void, simd::Vector<float>>("sort(x,true)", {"x"});
select(vec,k, descending)
void
- throw
rapidudf::ReadonlyException
when vector is readonly
simd_vector<f32>
simd_vector<f64>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<void, simd::Vector<float>>("select(x,5,true)", {"x"});
topk(vec,k, descending)
void
- throw
rapidudf::ReadonlyException
when vector is readonly
simd_vector<f32>
simd_vector<f64>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<void, simd::Vector<float>>("topk(x,5,true)", {"x"});
argsort(vec, descending)
simd::Vector<uint64_t>
simd_vector<f32>
simd_vector<f64>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<simd::Vector<uint64_t>, simd::Vector<float>>("argsort(x,true)", {"x"});
argselect(vec, k, descending)
simd::Vector<uint64_t>
simd_vector<f32>
simd_vector<f64>
simd_vector<i16>
simd_vector<i32>
simd_vector<i64>
simd_vector<u16>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<simd::Vector<uint64_t>, simd::Vector<float>>("argselect(x,3, true)", {"x"});
sort_kv(key_vec,value_vec, descending)
simd::Vector<uint64_t>
- throw
rapidudf::ReadonlyException
when key/value vector is readonly
simd_vector<f32>
simd_vector<f64>
simd_vector<i32>
simd_vector<i64>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<void, simd::Vector<uint64_t>, simd::Vector<float>>("sort_kv(x,y, true)", {"x"});
select_kv(key_vec,value_vec,k,descending)
simd::Vector<uint64_t>
- throw
rapidudf::ReadonlyException
when key/value vector is readonly
simd_vector<f32>
simd_vector<f64>
simd_vector<i32>
simd_vector<i64>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<void, simd::Vector<uint64_t>, simd::Vector<float>>("select_kv(x,y,10,true)", {"x"});
topk_kv(key_vec,value_vec,k,descending)
simd::Vector<uint64_t>
- throw
rapidudf::ReadonlyException
when key/value vector is readonly
simd_vector<f32>
simd_vector<f64>
simd_vector<i32>
simd_vector<i64>
simd_vector<u32>
simd_vector<u64>
JitCompiler compiler;
auto result = compiler.CompileExpression<void, simd::Vector<uint64_t>, simd::Vector<float>>("topk_kv(x,y,10,true)", {"x"});
.size()
return container size.contains(part)
return true if part exist.starts_with(part)
return true if part starts_with.ends_with(part)
return true if part ends_with.contains_ignore_case(part)
return true if part contains_ignore_case.starts_with_ignore_case(part)
return true if part starts_with_ignore_case.ends_with_ignore_case(part)
return true if part ends_with_ignore_case
.get(idx)
get element by index.size()
return container size.find(v)
return element idx, return -1 if not found.contains(v)
return true if element exist
.get(key)
get element by key, return default value if not exist.size()
return container size.contains(key)
return true if key exist
.size()
return container size.contains(key)
return true if key exist
.get(idx)
get element by index.size()
return container size.find(v)
return element idx, return -1 if not found.contains(v)
return true if element exist
.get(idx)
get element by index.size()
return container size
.get(key)
get element by key, return default value if not exist.size()
return container size.contains(key)
return true if key exist
.get(idx)
get element by index.size()
return container size
.find(T v)
return first position for given value, return -1 when failed.find_neq(T v)
return first value's position not equal given value, return -1 when failed.find_gt(T v)
return first value's position greater than given value, return -1 when failed.find_ge(T v)
return first value's position greater equal than given value, return -1 when failed.find_lt(T v)
return first value's position less than given value, return -1 when failed.find_le(T v)
return first value's position less equal than given value, return -1 when failed
.filter(simd::Vector<Bit>)
return new table after filter.order_by(simd::Vector<T> column, bool descending)
return new table after order_by.topk(simd::Vector<T> column, uint32_t k, bool descending)
return new table after topk.group_by(simd::Vector<T> column)
return tables after group_by