(array: Expr, begin: Expr, end: Expr, stride: Option<Expr>)
| 279 | |
| 280 | #[doc = "returns a slice of the array."] |
| 281 | pub fn array_slice(array: Expr, begin: Expr, end: Expr, stride: Option<Expr>) -> Expr { |
| 282 | let args = match stride { |
| 283 | Some(stride) => vec![array, begin, end, stride], |
| 284 | None => vec![array, begin, end], |
| 285 | }; |
| 286 | array_slice_udf().call(args) |
| 287 | } |
| 288 | |
| 289 | #[user_doc( |
| 290 | doc_section(label = "Array Functions"), |
searching dependent graphs…