当前位置: 首页>>代码示例>>Java>>正文


Java DenseMatrix64F.get方法代码示例

本文整理汇总了Java中org.ejml.data.DenseMatrix64F.get方法的典型用法代码示例。如果您正苦于以下问题:Java DenseMatrix64F.get方法的具体用法?Java DenseMatrix64F.get怎么用?Java DenseMatrix64F.get使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.ejml.data.DenseMatrix64F的用法示例。


在下文中一共展示了DenseMatrix64F.get方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: F15

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F15(int d) {
	super(d, 15);
	
	name = "F15 D/m-group Shifted and m-rotated Rastrigin's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F15.java

示例2: F17

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F17(int d) {
	super(d, 17);
	
	name = "F17 D/m-group Shifted and m-dimensional Schwefel's Problem 1.2";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F17.java

示例3: F4

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F4(int d) {
	super(d, 4);
	
	name = "F04 Single-group Shifted and m-rotated Elliptic Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = i;
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F4.java

示例4: F20

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F20(int d) {
	super(d, 20);
	
	name = "F20 Shifted Rosenbrock's Function";
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:21,代码来源:F20.java

示例5: F7

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F7(int d) {
	super(d, 7);
	
	name = "F07 Single-group Shifted m-dimensional Schwefel's Problem 1.2";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F7.java

示例6: F9

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F9(int d) {
	super(d, 9);
	
	name = "F09 D/2m-group Shifted and m-rotated Elliptic Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F9.java

示例7: F19

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F19(int d) {
	super(d, 19);
	
	name = "F19 Shifted Schwefel's Problem 1.2";
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:21,代码来源:F19.java

示例8: F8

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F8(int d) {
	super(d, 8);
	
	name = "F08 Single-group Shifted m-dimensional Rosenbrock's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F8.java

示例9: F11

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F11(int d) {
	super(d, 11);
	
	name = "F11 D/2m-group Shifted and m-rotated Ackley's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F11.java

示例10: F6

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F6(int d) {
	super(d, 6);
	
	name = "F06 Single-group Shifted and m-rotated Ackley's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F6.java

示例11: F5

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F5(int d) {
	super(d, 5);
	
	name = "F05 Single-group Shifted and m-rotated Rastrigin's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F5.java

示例12: F16

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F16(int d) {
	super(d, 16);
	
	name = "F16 D/m-group Shifted and m-rotated Ackley's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F16.java

示例13: F10

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F10(int d) {
	super(d, 10);
	
	name = "F10 D/2m-group Shifted and m-rotated Rastrigin's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F10.java

示例14: F13

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F13(int d) {
	super(d, 13);
	
	name = "F13 D/2m-group Shifted m-dimensional Rosenbrock's Function";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F13.java

示例15: F18

import org.ejml.data.DenseMatrix64F; //导入方法依赖的package包/类
public F18(int d) {
	super(d, 18);
	
	name = "F18 D/m-group Shifted and m-dimensional Rosenbrock's Problem 1.2";
	
	P = new int[numberOfDimensions];
	P = Util.randomPermutation(numberOfDimensions);
	OShift = new double[numberOfDimensions];

	for (int i=0; i<numberOfDimensions; i++){
		OShift[i] = Util.nextDouble(lowerLimit.get(i),upperLimit.get(i));
	}
	
	M = new double[m*m];
	
	DenseMatrix64F A = RandomMatrices.createOrthogonal(m, m, Util.rnd);
	
	for (int i=0; i<m; i++){
		for (int j=0; j<m; j++){
			M[i * m + j] = A.get(i, j);
		}
	}
}
 
开发者ID:UM-LPM,项目名称:EARS,代码行数:24,代码来源:F18.java


注:本文中的org.ejml.data.DenseMatrix64F.get方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。