示例#1
0
 MatMult(const MatExpr<E1>& a, const MatExpr<E2>& b)
     : a_(a.derived()), b_(b.derived()) {
   assert(a_.cols() == b_.rows());
 }
示例#2
0
 MatScale(const MatExpr<E1>& a, double b)
     : alpha_(b), a_(a.derived()) {
 }
示例#3
0
 MatAdd(const MatExpr<E1>& a, const MatExpr<E2>& b)
     : a_(a.derived()), b_(b.derived()) {
   assert(a_.rows() == b.rows() && a.cols() == b.cols());
 }
示例#4
0
 MatScale(double b, const MatExpr<E1>& a)
     : alpha_(b), a_(a.derived()) {
 }