Skip to content

Dot product with dyn arrays #886

Closed
Closed
@FredrikNoren

Description

@FredrikNoren

Hi, for some reason this isn't working for me:

let a = array![[1.]].into_dyn();
let b = array![[1.]].into_dyn();
let c = a.dot(&b);

I'm getting this error:

no method named `dot` found for struct `ArrayBase<OwnedRepr<{float}>, Dim<IxDynImpl>>` in the current scope
method not found in `ArrayBase<OwnedRepr<{float}>, Dim<IxDynImpl>>`

Am I doing something wrong or is this a bug? Version 0.14.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions