Examples of alpha()


Examples of org.jquantlib.math.interpolations.SABRInterpolation.alpha()

                                         vegaWeighted[i],
                                         endCriteria, methods_.get(j));
                    sabrInterpolation.update();

                    // Recover SABR calibration parameters
                    final double calibratedAlpha = sabrInterpolation.alpha();
                    final double calibratedBeta = sabrInterpolation.beta();
                    final double calibratedNu = sabrInterpolation.nu();
                    final double calibratedRho = sabrInterpolation.rho();
                    double error;
View Full Code Here

Examples of org.nlogo.api.Link.alpha()

      return !riding_agent && !turtle.hidden()
        && (turtle.alpha() > 0.0 || turtle.hasLabel());
    } else if (agent instanceof Link) {
      Link link = (Link) agent;
      return !link.hidden() && (link.alpha() > 0.0 || link.hasLabel());
    } else if (agent instanceof Patch3D) {
      // Patch3D supports the alpha variable, so check Patch3D
      // before checking the regular Patch.

      Patch3D patch = (Patch3D) agent;
View Full Code Here

Examples of org.nlogo.api.Patch3D.alpha()

    } else if (agent instanceof Patch3D) {
      // Patch3D supports the alpha variable, so check Patch3D
      // before checking the regular Patch.

      Patch3D patch = (Patch3D) agent;
      return patch.alpha() > 0.0 || patch.hasLabel();
    } else if (agent instanceof Patch) {
      // We will assume all patches are visible. However, perhaps
      // we should only return true for non-black patches.

      return true;
View Full Code Here

Examples of org.nlogo.api.Turtle.alpha()

      boolean riding_agent = (world.observer().perspective() == PerspectiveJ.RIDE())
          && (world.observer().targetAgent() == turtle);

      return !riding_agent && !turtle.hidden()
        && (turtle.alpha() > 0.0 || turtle.hasLabel());
    } else if (agent instanceof Link) {
      Link link = (Link) agent;
      return !link.hidden() && (link.alpha() > 0.0 || link.hasLabel());
    } else if (agent instanceof Patch3D) {
      // Patch3D supports the alpha variable, so check Patch3D
View Full Code Here

Examples of redis.clients.jedis.SortingParams.alpha()

  jedis.lpush("foo", "1");
  jedis.lpush("foo", "2");
  jedis.lpush("foo", "10");

  SortingParams sp = new SortingParams();
  sp.alpha();

  List<String> result = jedis.sort("foo", sp);

  List<String> expected = new ArrayList<String>();
  expected.add("1");
View Full Code Here

Examples of redis.clients.jedis.SortingParams.alpha()

  jedis.lpush(bfoo, b1);
  jedis.lpush(bfoo, b2);
  jedis.lpush(bfoo, b10);

  SortingParams bsp = new SortingParams();
  bsp.alpha();

  List<byte[]> bresult = jedis.sort(bfoo, bsp);

  List<byte[]> bexpected = new ArrayList<byte[]>();
  bexpected.add(b1);
View Full Code Here

Examples of redis.clients.jedis.SortingParams.alpha()

  @Override
  protected void command() {
    jedis.select(db);
    SortingParams sp = new SortingParams();
    sp.alpha();
    sp.limit(start, end-start);
    page = jedis.sort(key, sp);
   
  }
View Full Code Here

Examples of redis.clients.jedis.SortingParams.alpha()

      if (order != null && order.equals(Order.DESC)) {
        jedisParams.desc();
      }
      Boolean isAlpha = params.isAlphabetic();
      if (isAlpha != null && isAlpha) {
        jedisParams.alpha();
      }
    }

    return jedisParams;
  }
View Full Code Here

Examples of redis.clients.jedis.SortingParams.alpha()

        SortingParams params = new SortingParams();
        if (desc) {
            params.desc();
        }
        if (alpha){
            params.alpha();
        }
        params.by(by);
        params.limit(0, 20);
        trans.sort("idx:" + id, params);
        List<Object> results = trans.exec();
View Full Code Here

Examples of redis.clients.jedis.SortingParams.alpha()

      if (order != null && order.equals(Order.DESC)) {
        jedisParams.desc();
      }
      Boolean isAlpha = params.isAlphabetic();
      if (isAlpha != null && isAlpha) {
        jedisParams.alpha();
      }
    }

    return jedisParams;
  }
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.