nec2++
2.1.1
src
matrix_algebra.h
1
#pragma once
2
3
/*
4
Copyright (C) 2004, 2015 Timothy C.A. Molteno
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
21
#include "math_util.h"
22
#include "nec_output.h"
23
25
void
lu_decompose(
nec_output_file
& s_output, int64_t n,
complex_array
& a,
int_array
& ip, int64_t ndim);
26
void
solve( int64_t n,
complex_array
& a,
int_array
& ip,
complex_array
& b, int64_t ndim );
27
29
void
lu_decompose_ge(
nec_output_file
& s_output, int64_t n,
complex_array
& a,
int_array
& ip, int64_t ndim);
30
void
solve_ge( int64_t n,
complex_array
& a,
int_array
& ip,
complex_array
& b, int64_t ndim );
31
32
33
void
factrs(
nec_output_file
& s_output, int64_t np, int64_t nrow,
complex_array
& a,
int_array
& ip );
34
void
solves(
complex_array
& a,
int_array
& ip,
complex_array
& b, int64_t neq,
35
int64_t nrh, int64_t np, int64_t n, int64_t mp, int64_t m, int64_t nop,
36
complex_array
& symmetry_array);
37
38
#ifdef NEC_ERROR_CHECK
39
void
to_octave(nec_complex& x);
40
void
to_octave(
int
& x);
41
void
to_octave(nec_complex* a,
int
n,
int
ndim);
42
void
to_octave(
complex_array
& a,
int
n,
int
ndim);
43
void
to_octave(
int
* a,
int
n);
44
void
to_octave(
int_array
& a,
int
n);
45
#endif
nec_output_file
Definition
nec_output.h:53
safe_array< nec_complex >
Generated by
1.9.8