Skip to content

Is it possible to use something like 1-x:1:10-x #239

@zhaoli-IHEP

Description

@zhaoli-IHEP

We were trying to calculate like (1-x)*(2-x)*(3-x)*...*(10-x). And now we use (1:10).-x, which in fact gives in REPL 1 - x:1:10 - x. However, it seems we cannot directly use 1 - x:1:10 - x or 1 - x:one(Basic):10 - x. Could it have some way to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions