Support #1632

Support for outer product of two vectors

Added by C. Emmerich over 10 years ago. Updated over 10 years ago.

Status:RejectedStart date:09/19/2013
Priority:HighDue date:
Assignee:M. Rolf% Done:

100%

Category:-
Target version:NemoMath 0.4

Description

Is there any possibility to build the outer product of two vectors? I tried

RealVector h(3.0, 4.0, 5.0);
RealMatrix hht = h * h.transpose();

but this results in
error: no match for ‘operator*’ in ‘h * nemo::MathVector<T>::transpose() [with T = double]()’
note: candidates are:
...

1) Is it possible to include this feature to NemoMath?
2) Until then, or if not, what is the recommended work around?

History

#1 Updated by M. Rolf over 10 years ago

  • Status changed from New to Rejected
  • Assignee set to M. Rolf
  • Target version set to NemoMath 0.4
  • % Done changed from 0 to 100

Also available in: Atom PDF