Example for Shit
- Deprecated:
- Schedule for removal!!
- Author
- MIP
#include <Base/Image/Image.hh>
#include <Base/Math/Matrix.hh>
#include <Base/Math/Vector.hh>
#include <MathAlgo/SVD.hh>
using namespace std;
using namespace BIAS;
int main(int argc, char *argv[]) {
return 0;
}
const int n = sizeof(unsigned char);
0.0);
int k = 0;
double wij;
for (
int i = 0; i < Z.
num_rows(); i++) {
for (
int j = 0; j < Z.
num_cols(); j++) {
wij = w[Z[i][j] + 1];
A[k][Z[i][j] + 1] = wij;
A[k][n + i] = -wij;
b[k] = wij * B[j];
k++;
}
}
A[k][128] = 1;
k++;
for (int i = 0; i < n - 2; i++) {
A[k][i] = l * w[i+1];
A[k][i+1] = -2 * l * w[i+1];
A[k][i+2] = l * w[i+1];
k++;
}
for (int i = 0; i < n; i++) {
g[i] = x[i];
}
for (
int i = n; i < x.
size(); i++) {
lE[i - n] = x[i];
}
}