Skip to content

Consider the possibility to use [T] instead of Vec<T> in trait Array #199

Open
@Mec-iS

Description

@Mec-iS

I'm submitting a

  • exploratory

Current Behaviour:

all smartcore::linalg::basic:arrays are implemented for Vec:

impl<T: Debug + Display + Copy + Sized> Array<T, usize> for Vec<T>

Expected Behaviour:

Try to consider the possibility of implementing arrays for slices:

impl<T: Debug + Display + Copy + Sized> Array<T, usize> for [T]

Metadata

Metadata

Assignees

No one assigned

    Labels

    explorativenot an actual issue. Just a thing to look into

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions