CPPLapack
 All Classes Files Functions Variables Friends
Functions
double-small.hpp File Reference

Go to the source code of this file.

Functions

template<long l>
dcovector_small< l > operator* (const double &v, const dcovector_small< l > &A)
template<long l>
drovector_small< l > operator* (const double &v, const drovector_small< l > &A)
template<long m, long n>
dgematrix_small< m, n > operator* (const double &v, const dgematrix_small< m, n > &A)
template<long n>
dsymatrix_small< n > operator* (const double &v, const dsymatrix_small< n > &A)
template<long l>
zcovector_small< l > operator* (const double &v, const zcovector_small< l > &A)
template<long l>
zrovector_small< l > operator* (const double &v, const zrovector_small< l > &A)
template<long m, long n>
zgematrix_small< m, n > operator* (const double &v, const zgematrix_small< m, n > &A)
template<long n>
zhematrix_small< n > operator* (const double &v, const zhematrix_small< n > &A)

Function Documentation

template<long l>
dcovector_small<l> operator* ( const double &  v,
const dcovector_small< l > &  A 
) [inline]

Definition at line 4 of file double-small.hpp.

References i().

{VERBOSE_REPORT;
  dcovector_small<l> X;
  for(long i=0; i<l; i++){
    X(i) =v*A(i);
  }
  return X;
}
template<long l>
drovector_small<l> operator* ( const double &  v,
const drovector_small< l > &  A 
) [inline]

Definition at line 16 of file double-small.hpp.

References i().

{VERBOSE_REPORT;
  drovector_small<l> X;
  for(long i=0; i<l; i++){
    X(i) =v*A(i);
  }
  return X;
}
template<long m, long n>
dgematrix_small<m,n> operator* ( const double &  v,
const dgematrix_small< m, n > &  A 
) [inline]

Definition at line 28 of file double-small.hpp.

References i().

{VERBOSE_REPORT;
  dgematrix_small<m,n> C;
  for(long i=0; i<m; i++){
    for(long j=0; j<n; j++){
      C(i,j) =v*A(i,j);
    }
  }
  return C;
}
template<long n>
dsymatrix_small<n> operator* ( const double &  v,
const dsymatrix_small< n > &  A 
) [inline]

Definition at line 42 of file double-small.hpp.

References dsymatrix_small< n >::array.

{VERBOSE_REPORT;
  dsymatrix_small<n> X;
  for(long k=0; k<(n*(n+1))/2; k++){
    X.array[k] =v*A.array[k];
  }
  return X;
}
template<long l>
zcovector_small<l> operator* ( const double &  v,
const zcovector_small< l > &  A 
) [inline]

Definition at line 58 of file double-small.hpp.

References i().

{VERBOSE_REPORT;
  zcovector_small<l> X;
  for(long i=0; i<l; i++){
    X(i) =v*A(i);
  }
  return X;
}
template<long l>
zrovector_small<l> operator* ( const double &  v,
const zrovector_small< l > &  A 
) [inline]

Definition at line 70 of file double-small.hpp.

References i().

{VERBOSE_REPORT;
  zrovector_small<l> X;
  for(long i=0; i<l; i++){
    X(i) =v*A(i);
  }
  return X;
}
template<long m, long n>
zgematrix_small<m,n> operator* ( const double &  v,
const zgematrix_small< m, n > &  A 
) [inline]

Definition at line 82 of file double-small.hpp.

References i().

{VERBOSE_REPORT;
  zgematrix_small<m,n> C;
  for(long i=0; i<m; i++){
    for(long j=0; j<n; j++){
      C(i,j) =v*A(i,j);
    }
  }
  return C;
}
template<long n>
zhematrix_small<n> operator* ( const double &  v,
const zhematrix_small< n > &  A 
) [inline]

Definition at line 96 of file double-small.hpp.

References zhematrix_small< n >::array.

{VERBOSE_REPORT;
  zhematrix_small<n> X;
  for(long k=0; k<(n*(n+1))/2; k++){
    X.array[k] =v*A.array[k];
  }
  return X;
}
 All Classes Files Functions Variables Friends