Class Vector4l

    • Constructor Detail

      • Vector4l

        public Vector4l​(Vector2l v)
      • Vector4l

        public Vector4l​(Vector2l v,
                        double z,
                        double w)
      • Vector4l

        public Vector4l​(Vector2l v,
                        long z,
                        long w)
      • Vector4l

        public Vector4l​(Vector3l v)
      • Vector4l

        public Vector4l​(Vector3l v,
                        double w)
      • Vector4l

        public Vector4l​(Vector3l v,
                        long w)
      • Vector4l

        public Vector4l​(VectorNl v)
      • Vector4l

        public Vector4l​(double x,
                        double y,
                        double z,
                        double w)
      • Vector4l

        public Vector4l​(long x,
                        long y,
                        long z,
                        long w)
    • Method Detail

      • x

        public long x()
      • y

        public long y()
      • z

        public long z()
      • w

        public long w()
      • add

        public Vector4l add​(double x,
                            double y,
                            double z,
                            double w)
      • add

        public Vector4l add​(long x,
                            long y,
                            long z,
                            long w)
      • sub

        public Vector4l sub​(double x,
                            double y,
                            double z,
                            double w)
      • sub

        public Vector4l sub​(long x,
                            long y,
                            long z,
                            long w)
      • mul

        public Vector4l mul​(double a)
      • mul

        public Vector4l mul​(double x,
                            double y,
                            double z,
                            double w)
      • mul

        public Vector4l mul​(long x,
                            long y,
                            long z,
                            long w)
      • div

        public Vector4l div​(double a)
      • div

        public Vector4l div​(double x,
                            double y,
                            double z,
                            double w)
      • div

        public Vector4l div​(long x,
                            long y,
                            long z,
                            long w)
      • dot

        public long dot​(double x,
                        double y,
                        double z,
                        double w)
      • dot

        public long dot​(long x,
                        long y,
                        long z,
                        long w)
      • project

        public Vector4l project​(double x,
                                double y,
                                double z,
                                double w)
      • project

        public Vector4l project​(long x,
                                long y,
                                long z,
                                long w)
      • pow

        public Vector4l pow​(double pow)
      • min

        public Vector4l min​(double x,
                            double y,
                            double z,
                            double w)
      • min

        public Vector4l min​(long x,
                            long y,
                            long z,
                            long w)
      • max

        public Vector4l max​(double x,
                            double y,
                            double z,
                            double w)
      • max

        public Vector4l max​(long x,
                            long y,
                            long z,
                            long w)
      • distanceSquared

        public long distanceSquared​(Vector4l v)
      • distanceSquared

        public long distanceSquared​(double x,
                                    double y,
                                    double z,
                                    double w)
      • distanceSquared

        public long distanceSquared​(long x,
                                    long y,
                                    long z,
                                    long w)
      • distance

        public double distance​(Vector4l v)
      • distance

        public double distance​(double x,
                               double y,
                               double z,
                               double w)
      • distance

        public double distance​(long x,
                               long y,
                               long z,
                               long w)
      • length

        public double length()
        Specified by:
        length in interface Vectorl
      • minAxis

        public int minAxis()
        Return the axis with the minimal value.
        Specified by:
        minAxis in interface Vectorl
        Returns:
        int axis with minimal value
      • maxAxis

        public int maxAxis()
        Return the axis with the maximum value.
        Specified by:
        maxAxis in interface Vectorl
        Returns:
        int axis with maximum value
      • toVector2

        public Vector2l toVector2()
      • toVector3

        public Vector3l toVector3()
      • toVectorN

        public VectorNl toVectorN()
      • toArray

        public long[] toArray()
        Specified by:
        toArray in interface Vectorl
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • from

        public static Vector4l from​(long n)
      • from

        public static Vector4l from​(long x,
                                    long y,
                                    long z,
                                    long w)