6 #ifndef MYRAMATH_DENSE_SCAL_H 7 #define MYRAMATH_DENSE_SCAL_H 19 template<
class Number>
class VectorRange;
22 void scal(
int n, NumberS alpha, NumberS* x,
int ix);
23 void scal(
int n, NumberD alpha, NumberD* x,
int ix);
24 void scal(
int n, NumberC alpha, NumberC* x,
int ix);
25 void scal(
int n, NumberZ alpha, NumberZ* x,
int ix);
28 void scal(NumberS alpha,
const VectorRange<NumberS>& x);
29 void scal(NumberD alpha,
const VectorRange<NumberD>& x);
30 void scal(NumberC alpha,
const VectorRange<NumberC>& x);
31 void scal(NumberZ alpha,
const VectorRange<NumberZ>& x);
Various utility functions/classes related to scalar Number types.