22#ifndef linear_algebraz_h
23#define linear_algebraz_h
25#include "square_matrix.h"
27#include "row_vector.h"
28#include "diagonal_matrix.h"
29#include "symmetric_matrix.h"
30#include "band_matrix.h"
48 FMATVEC_EXPORT Vector<Ref, std::complex<double>>
slvLU(
const SquareMatrix<Ref, std::complex<double>> &A,
const Vector<Ref, std::complex<double>> &b);
53 template<
class T> std::complex<T> operator+(
const std::complex<T> &x,
int y) {
return x+
static_cast<T
>(y); }
54 template<
class T> std::complex<T> operator-(
const std::complex<T> &x,
int y) {
return x+
static_cast<T
>(y); }
55 template<
class T> std::complex<T> operator*(
const std::complex<T> &x,
int y) {
return x+
static_cast<T
>(y); }
56 template<
class T> std::complex<T> operator/(
const std::complex<T> &x,
int y) {
return x+
static_cast<T
>(y); }
57 template<
class T> std::complex<T> operator+(
int x,
const std::complex<T> &y) {
return static_cast<T
>(x)+y; }
58 template<
class T> std::complex<T> operator-(
int x,
const std::complex<T> &y) {
return static_cast<T
>(x)+y; }
59 template<
class T> std::complex<T> operator*(
int x,
const std::complex<T> &y) {
return static_cast<T
>(x)+y; }
60 template<
class T> std::complex<T> operator/(
int x,
const std::complex<T> &y) {
return static_cast<T
>(x)+y; }
Namespace fmatvec.
Definition: _memory.cc:28
Vector< Ref, std::complex< double > > slvLU(const SquareMatrix< Ref, std::complex< double > > &A, const Vector< Ref, std::complex< double > > &x)
System of linear equations.
Definition: linear_algebra_complex.cc:47