-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
stdlib-js/stdlib
#10923Labels
FeatureTask to add a new feature.Task to add a new feature.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.May require some initial design or R&D, but should be straightforward to resolve and/or implement.estimate: 2-4hrsTask which should take between 2 to 4 hours.Task which should take between 2 to 4 hours.🤖 AIAllowed to use AI.Allowed to use AI.
Description
This is the strided equivalent of https://docs.pytorch.org/docs/stable/generated/torch.vander.html and https://numpy.org/doc/stable/reference/generated/numpy.vander.html.
API signature:
function dvander( M, N, order, x, strideX, out, strideOut1, strideOut2 )where
Mis the number of elements inxand number of rows inout.Nis the number of columns inout.orderspecifies whether the order of powers increase from left to right or decrease.x: input strided array.strideX: stride length.out: output strided array corresponding to a matrix.strideOut1: stride length of first dimension.strideOut2: stride length of second dimension.
Depending on whether out is row- or column-major, values should be set in a cache-optimal way.
This will eventually enable blas/ext/vander for creating Vandermonde matrices.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
FeatureTask to add a new feature.Task to add a new feature.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.May require some initial design or R&D, but should be straightforward to resolve and/or implement.estimate: 2-4hrsTask which should take between 2 to 4 hours.Task which should take between 2 to 4 hours.🤖 AIAllowed to use AI.Allowed to use AI.