Skip to content

Outer product #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
termoshtt opened this issue Jun 12, 2017 · 2 comments
Closed

Outer product #43

termoshtt opened this issue Jun 12, 2017 · 2 comments

Comments

@termoshtt
Copy link
Member

Restore outer product removed in #41

@termoshtt termoshtt added this to the v0.5.0 milestone Jun 12, 2017
@termoshtt
Copy link
Member Author

We can use ndarray::linalg::Dot to calc outer product:

let a: Array1<f64> = random(3);
let b: Array1<f64> = random(4);
let a = into_col_vec(a);
let b = into_row_vec(b);
let ab = a.dot(&b);

but this gives Array2<A> only (i.e. it cannot generate RcArray2<A> without into_shared).
Generalized Dot #39 will help this.

@termoshtt termoshtt modified the milestone: v0.5.0 Jun 23, 2017
@termoshtt
Copy link
Member Author

transfer to #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant