Examples of assign()


Examples of cern.colt.matrix.DoubleMatrix1D.assign()

  cern.jet.math.Mult multFunction = cern.jet.math.Mult.mult(0);

  // Outer loop.
  for (int j = 0; j < n; j++) {
    // blocking (make copy of j-th column to localize references)
    LUcolj.assign(LU.viewColumn(j));
   
    // sparsity detection
    int maxCardinality = m/CUT_OFF; // == heuristic depending on speedup
    LUcolj.getNonZeros(nonZeroIndexes,null,maxCardinality);
    int cardinality = nonZeroIndexes.size();
View Full Code Here

Examples of cern.colt.matrix.DoubleMatrix2D.assign()

  }
  */
  System.out.println("\ntesting...");
  if (print) System.out.println(matrix);
  DoubleMatrix2D dense = DoubleFactory2D.dense.make(size,size);
  dense.assign(matrix);
  if (! dense.equals(matrix)) throw new InternalError();
  DoubleMatrix2D ADense = dense.copy();
  DoubleMatrix2D BDense = dense.copy();
  DoubleMatrix2D CDense = dense.copy();
  ADense.zMult(BDense,CDense);
View Full Code Here

Examples of ch.semafor.gendas.model.Element.assign()

   }
   if( element == null ){
     element = new Element( newElement.getElementType() );
    }
    element.resetAssigned();
    element.assign( newElement, elementDao );
    if( logger.isDebugEnabled()){
      element.print(0, "Element after assign() before save()");
    }
    element = elementDao.save( element );
    creator.resetMaps();
View Full Code Here

Examples of com.asakusafw.compiler.flow.DataClass.assign()

            List<Statement> statements = Lists.create();
            statements.add(new ExpressionBuilder(factory, factory.newThis())
                .field(factory.newSimpleName(SEGMENT_ID_FIELD_NAME))
                .assignFrom(v(segment.getPortId()))
                .toStatement());
            statements.add(type.assign(
                    new ExpressionBuilder(factory, factory.newThis())
                        .field(createPropertyName(segment))
                        .toExpression(),
                    argument));
View Full Code Here

Examples of com.asakusafw.compiler.flow.DataClass.assign()

        List<Statement> statements = Lists.create();
        Iterator<FragmentNode> iter = downstream.iterator();
        while (iter.hasNext()) {
            FragmentNode node = iter.next();
            if (iter.hasNext()) {
                statements.add(model.assign(cacheName, argumentName));
                statements.add(new ExpressionBuilder(factory, node.getName())
                    .method(FlowElementProcessor.RESULT_METHOD_NAME, cacheName)
                    .toStatement());
            } else {
                statements.add(new ExpressionBuilder(factory, node.getName())
View Full Code Here

Examples of com.founder.fix.fixflow.core.action.AssignmentHandler.assign()

      } else {
        String classImpl = assignPolicy.getClassImpl();
       
   
        AssignmentHandler assignmentHandler = ProcessObjectFactory.FACTORYINSTANCE.createAssignmentHandler(classImpl);
        assignmentHandler.assign(assignable, executionContext);
      }

    }

  }
View Full Code Here

Examples of com.google.web.bindery.autobean.shared.Splittable.assign()

       * of a setter's interface type. This means that a slow serialization pass
       * is necessary.
       */
      data.setReified(AbstractAutoBean.UNSPLITTABLE_VALUES_KEY, true);
    } else {
      backing.assign(data, index);
    }
  }

  private Splittable data;
  private final Coder elementCoder;
View Full Code Here

Examples of com.ibm.richtext.textformat.TextOffset.assign()

            if (e.isControlDown() && (key == KeyEvent.VK_LEFT || key == KeyEvent.VK_RIGHT)) {
                fUpDownAnchor = null;
                fBoundaries = BreakIterator.getLineInstance();
                fBoundaries.setText(fText.createCharacterIterator());

                newPos.assign(liveEnd);
                if (key == KeyEvent.VK_RIGHT)
                    advanceToNextBoundary(newPos);
                else
                    advanceToPreviousBoundary(newPos, true);
            }
View Full Code Here

Examples of com.sun.codemodel.JBlock.assign()

    HoldingContainer out = g.declare(returnValue.type, false);
    JBlock sub = new JBlock();
    g.getEvalBlock().add(sub);
    JVar internalOutput = sub.decl(JMod.FINAL, g.getHolderType(returnValue.type), returnValue.name, JExpr._new(g.getHolderType(returnValue.type)));
    addProtectedBlock(g, sub, output, null, workspaceJVars);
    sub.assign(out.getHolder(), internalOutput);

    generateBody(g, BlockType.RESET, reset, workspaceJVars);
    generateBody(g, BlockType.CLEANUP, cleanup, workspaceJVars);
    return out;
  }
View Full Code Here

Examples of com.sun.codemodel.internal.JBlock.assign()

        //     this.value = value;
        // }
        JMethod $set = writer.declareMethod( codeModel.VOID, "set"+prop.getName(true) );
        JVar $value = writer.addParameter( ptype, "value" );
        body = $set.body();
        body.assign(JExpr._this().ref(ref()),$value);
        // setter always get the default javadoc. See issue #381
        writer.javadoc().append(Messages.DEFAULT_SETTER_JAVADOC.format(nc.toVariableName(prop.getName(true))));

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.