Opened 14 years ago

Closed 13 years ago

#286 closed enhancement (invalid)

documentation on vector and matrix functions

Reported by: Peter Owned by: Jari Häkkinen
Priority: trivial Milestone:
Component: documentation Version: 0.3.1
Keywords: Cc:

Description

The documentation says:

Swap vector elements by copying.

which suggests the function takes linear time. I suspect GSL people are more clever than that and have implemented this as a pointer swap somehow.

Change History (2)

comment:1 Changed 13 years ago by Jari Häkkinen

Owner: changed from Peter to Jari Häkkinen

comment:2 Changed 13 years ago by Peter

Milestone: yat 0.4
Resolution: invalid
Status: newclosed

I checked the GSL code, and it is indeed copy element by element in a loop.

Note: See TracTickets for help on using tickets.