Example #1
0
        /// <summary>
        /// Create vector of n-dimensions with equal coordinates
        /// </summary>
        public Vector(int dimensions, double val)
        {
            _coordinates = new double[dimensions];
            IVector self = this;

            VectorOperations.Fill(ref self, val);
        }
Example #2
0
 /// <summary>
 /// Reset to empty state.
 /// </summary>
 public void Reset()
 {
     VectorOperations.Fill(ref _min, Double.MaxValue);
     VectorOperations.Fill(ref _max, Double.MinValue);
 }