Skip to content

cumsum error #955

@weymouth

Description

@weymouth

I'm just trying to make a function for the arclength along a space-curve.

curve(u) = [1.,0.,cos(u)]
dist = arclength(curve)
speed = Fun(u->hypot(derivative(curve,u)...),0..pi)
sum(speed) # 2.0 works!
cumsum(speed)(pi) # 0.0 doesn't work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions