Examples of transform()


Examples of cc.redberry.core.transformations.Transformation.transform()

            do {
                for (Expression solution : generalSolutions)
                    equation = solution.transform(equation);

                equation = ExpandTransformation.expand(equation, simplification);
                equation = simplification.transform(equation);
                equation = CollectNonScalarsTransformation.collectNonScalars(equation);
                if (!TensorUtils.containsSimpleTensors(equation, varsNames))
                    break;

            } while (count-- > 0);

Examples of cc.redberry.core.transformations.TransformationCollection.transform()

            do {
                for (Expression solution : generalSolutions)
                    equation = solution.transform(equation);

                equation = ExpandTransformation.expand(equation, simplification);
                equation = simplification.transform(equation);
                equation = CollectNonScalarsTransformation.collectNonScalars(equation);
                if (!TensorUtils.containsSimpleTensors(equation, varsNames))
                    break;

            } while (count-- > 0);

Examples of cc.redberry.core.transformations.substitutions.SubstitutionTransformation.transform()

        i = -1;
        for (Map.Entry<Tensor, Tensor> entry : tensorSubstitutions.entrySet())
            scalarSubs[++i] = Tensors.expression(entry.getKey(), entry.getValue());
        SubstitutionTransformation fullSub = new SubstitutionTransformation(scalarSubs, true);
        for (i = 0; i < equations.length; ++i)
            equations[i] = (Expression) fullSub.transform(equations[i]);


        /*if (scalarSubs.length != 0) {
            StringBuilder scalarsString = new StringBuilder().append('[');
            for (Expression sub : scalarSubs)

Examples of cc.redberry.transformation.symmetrize.Symmetrize.transform()

            //creating term & processing combinatorics
            Tensor coefficient;
            if (symmetries == null) {
                Symmetrize symmetrize = new Symmetrize(indices,
                        Symmetries.getFullSymmetriesForSortedIndices(totalUpCount, totalLowCount), false);
                Tensor terms = symmetrize.transform(new Product(tCombination));
                if (terms instanceof Sum)
                    for (Tensor t : terms) {
                        result.add(new Product(coefficient = scalarTensorGenerator.next(), t));
                        coefficients.add(coefficient.clone());
                    }

Examples of ch5.sec1.ClassTransformer.transform()

    CheckClassAdapter ca = new CheckClassAdapter(cw);
    ClassNode cn = generateBasicClass();
    ClassTransformer ct = null;
    ct = new RemoveAnnotationTransformer(ct, "Ljava/lang/Deprecated;");
    ct = new AddAnnotationTransformer(ct, "Ljava/lang/Deprecated;");
    ct.transform(cn);
    cn.accept(ca);
    checkClass(defineClass("C", cw.toByteArray()));
  }

  @Override

Examples of chunmap.model.coord.CoordinateArray.transform()

    }

    public LineString createLineString(double[] x, double[] y)
    {
        CoordinateSeq ca = new CoordinateArray(x, y);
        CoordinateSeq nca = ca.transform(precision.getTransform());
        return new LineString(nca);
    }

    public CPoint createPoint(double x, double y)
    {

Examples of cn.com.bricks.dynamic.weaving.UnitTestTransformer.transform()

        Class<?> classBeingRedefined = null;
        Class c = Class.forName(className.replace("/", "."));
        byte[] classfileBuffer = loader.loadClassData(className);
        UnitTestTransformer instance = new UnitTestTransformer();
        byte[] expResult = null;
        byte[] result = instance.transform(c.getClassLoader(), className, classBeingRedefined, null, classfileBuffer);
        Class r = loader.getInstance(className.replace("/", "."), result);
//        r.getConstructor(new Class[]{String.class});
//        System.out.println(r.getMethods()[0].toString());
        r.getMethod("test", new Class[]{String.class}).invoke(r.newInstance(), new Object[]{"teeeee"});
//        r.getMethod("test1", new Class[]{String.class, boolean.class}).invoke(r.newInstance(), new Object[]{className + "test1", true});

Examples of com.adobe.acs.commons.images.ImageTransformer.transform()

                log.warn("Skipping transform. Missing ImageTransformer for type: {}");
                continue;
            }

            final ValueMap transformParams = this.transforms.get(type);
            layer = imageTransformer.transform(layer, transformParams);
        }

        return layer;
    }

Examples of com.adobe.acs.commons.images.NamedImageTransformer.transform()

        final Image image = this.resolveImage(request);
        final String mimeType = this.getMimeType(request, image);
        Layer layer = this.getLayer(image);
       
        // Transform the image
        layer = namedImageTransformer.transform(layer);

        final double quality = (mimeType.equals(MIME_TYPE_GIF) ? IMAGE_GIF_MAX_QUALITY : IMAGE_MAX_QUALITY);
        response.setContentType(mimeType);

        layer.write(mimeType, quality, response.getOutputStream());

Examples of com.alibaba.citrus.springext.Schema.transform()

            Schema schema = nameToSchemas.get(entry.getKey());
            SchemaIncludes si = entry.getValue();

            // 立即执行以下所有的transformer,以防在多线程环境下出错。
            if (si.removeAllIncludes) {
                schema.transform(getTransformerWhoRemovesIncludes(), true);
            } else if (si.allIncludes != null) {
                schema.transform(getTransformerWhoAddsIndirectIncludes(si.allIncludes), true);
            }
        }
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.