本文整理汇总了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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}
示例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);
}
}
}