INNER CODE UNIT · Dart

ceil

roipeker/graphx · lib/src/math.dart:124

  static num ceil(double value, [bool keepDouble = true]) {
    return keepDouble ? value.ceilToDouble() : value.ceil();
  }

  /// Computes the dot product of two 2D vectors.
  ///
  /// Given the `(x, y)` coordinates of four points, `(x0, y0)`, `(x1, y1)`,
  /// `(x2, y2)`, and `(x3, y3)`, computes the dot product of the vector
  /// `(dx0, dy0)` and `(dx1, dy1)`.
  @pragma("vm:prefer-inline")
  static double dotProduct(
    double x0,
    double y0,
    double x1,
    double y1,
    double x2,
    double y2,
    double x3,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…