comparison include/linalg.hpp @ 14:e6d2cd3b6e77

Intermediate whole domain evaluation work
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Sun, 03 Aug 2008 10:59:37 -0500
parents 0531194a431d
children 5144dd3c5468
comparison
equal deleted inserted replaced
13:0531194a431d 14:e6d2cd3b6e77
259 ///Constant version of previous function. 259 ///Constant version of previous function.
260 const vector_view operator()(const slice &v) const; 260 const vector_view operator()(const slice &v) const;
261 261
262 //Arithmetic operations: 262 //Arithmetic operations:
263 ///Scale the vector. 263 ///Scale the vector.
264 vector operator*(const double a) const; 264 vector operator*(const double a) const;
265 ///Scale the vector.
266 vector operator/(const double a) const;
265 ///Vector addition. 267 ///Vector addition.
266 vector operator+(const vector& w) const; 268 vector operator+(const vector& w) const;
267 ///Vector subtration. 269 ///Vector subtration.
268 vector operator-(const vector& w) const; 270 vector operator-(const vector& w) const;
269 ///Element-by-element multiplication. 271 ///Element-by-element multiplication.