package test1;
public class St {
public static void change(double[][]a)
{
double max=0.0;
final int i=a.length;
final int j=a[0].length;
double [][]s = new double[i][j];
for(int row=0;row<i;row++)
{ for(int col=0;col<j;col++)
{
for(int m=0;m<i;m++)
{
for(int n=0;n<i;n++)
{
s[row][col]+=(a[m][row]-a[n][row])*(a[m][col]-a[n][col]);
}
}
}
}
for(int g=0;g<i;g++)
{
for(int h=0;h<j;h++)
{
System.out.print(s[g][h]+" ");
}
System.out.println();
}
}
public static void main(String[] args) {
double[][]
基于离差平方和的最优组合赋权方法
最新推荐文章于 2023-12-12 15:42:45 发布