1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*-
// file algebra.hpp
#ifndef _ALGEBRA_HPP
#define _ALGEBRA_HPP
// System includes.
#include <iostream>
#include <iomanip>
#include <cmath>
// Local includes.
#include "blkcom.hpp"
#include "utilities.hpp"
#include "movecopy.hpp"
namespace algebra {
bool cdivz(std::vector<double> &, \
std::vector<double> &, \
const double &, \
const double &, \
const double &, \
const double &, \
const long int &);
bool cmultz(std::vector<double> &, \
std::vector<double> &, \
const double &, \
const double &, \
const double &, \
const double &, \
const long int &);
bool trgwnd(const double &, double *);
bool addmxd(std::vector<double> &, \
const double &, \
std::vector<double> &, \
const size_t &);
bool multmx(std::vector<double> &, \
std::vector<double> &, \
std::vector<double> &, \
std::vector<double> &, \
const size_t &);
bool mult(std::vector<double> &, \
std::vector<double> &, \
std::vector<double> &, \
const size_t &, \
long int &);
void dgelg(std::vector<double> &, \
std::vector<double> &, \
const size_t &, \
const size_t &, \
const float &, \
long int &);
void matmul(float [ 3 ][ 3 ], float [ 3 ][ 3 ]);
void matvec(float [ 3 ][ 3 ], float [ 15 ]);
}
#endif // _ALGEBRA_HPP
// end of file algebra.hpp
|