Skip to content

Using valarray instead of vector for Array type. #17

@kalwalt

Description

@kalwalt

At the moment i declared all the members inside data_t class as vector's because they are Array's

template <typename T> using Array = std::vector<T>;

But maybe we could try to use valarray instead of vector STL container, it has some advantages, for example it includes math functions (abs sin, cos..) and slicing yhe array that could be very useful. I will make some test, and will report here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions