Beispiel #1
0
        /// <summary>
        /// Divide each component of the current vector by the given vector: x_i/y_i
        /// </summary>
        /// <param name="Vector2"></param>
        /// <returns></returns>
        public Vector ComponentDivideBy(Vector Vector2)
        {
            Vector Vector3 = new Vector();

            Vector3.Values = ArrayTools.Divide(this.Values, Vector2.Values);
            return(Vector3);
        }
Beispiel #2
0
        public static Vector operator /(Vector Vector1, Vector Vector2)
        {
            Vector Vector3 = new Vector();

            Vector3.Values = ArrayTools.Divide(Vector1.Values, Vector2.Values);
            return(Vector3);
        }