<commit_before>﻿using System;

namespace Leaf.Types
{
    /// <summary>
    /// Storage for a four-dimensional position, direction, size, or etc.
    /// The values are floating-point numbers.
    /// This type has an X, Y, Z, and W value.
    /// </summary>
    public struct Vector4
    {
        /// <summary>
        /// Magnitude of the x-axis.
        /// </summary>
        public float X
        {
            get { throw new NotImplementedException(); }
        }

        /// <summary>
        /// Magnitude of the y-axis.
        /// </summary>
        public float Y
        {
            get { throw new NotImplementedException(); }
        }

        /// <summary>
        /// Magnitude of the z-axis.
        /// </summary>
        public float Z
        {
            get { throw new NotImplementedException(); }
        }

        /// <summary>
        /// Magnitude of the w-axis.
        /// </summary>
        public float W
        {
            get { throw new NotImplementedException(); }
        }

        /// <summary>
        /// Creates a four-dimensional vector setting all properties.
        /// </summary>
        /// <param name="x">Magnitude of the x-axis.</param>
        /// <param name="y">Magnitude of the y-axis.</param>
        /// <param name="z">Magnitude of the z-axis.</param>
        /// <param name="w">Magnitude of the w-axis.</param>
        public Vector4(float x, float y, float z, float w)
        {
            throw new NotImplementedException();
        }
    }
}
<commit_msg>Implemented properties and methods of Vector4<commit_after>﻿namespace Leaf.Types
{
    /// <summary>
    /// Storage for a four-dimensional position, direction, size, or etc.
    /// The values are floating-point numbers.
    /// This type has an X, Y, Z, and W value.
    /// </summary>
    public struct Vector4
    {
        private readonly float _x, _y, _z, _w;

        /// <summary>
        /// Magnitude of the x-axis.
        /// </summary>
        public float X
        {
            get { return _x; }
        }

        /// <summary>
        /// Magnitude of the y-axis.
        /// </summary>
        public float Y
        {
            get { return _y; }
        }

        /// <summary>
        /// Magnitude of the z-axis.
        /// </summary>
        public float Z
        {
            get { return _z; }
        }

        /// <summary>
        /// Magnitude of the w-axis.
        /// </summary>
        public float W
        {
            get { return _w; }
        }

        /// <summary>
        /// Creates a four-dimensional vector setting all properties.
        /// </summary>
        /// <param name="x">Magnitude of the x-axis.</param>
        /// <param name="y">Magnitude of the y-axis.</param>
        /// <param name="z">Magnitude of the z-axis.</param>
        /// <param name="w">Magnitude of the w-axis.</param>
        public Vector4(float x, float y, float z, float w)
        {
            _x = x;
            _y = y;
            _z = z;
            _w = w;
        }
    }
}

{'fraction_non_alphanumeric': 0.1332491316703505, 'fraction_numerical': 0.0015787811809283233, 'mean_word_length': 1.156569094622192, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7359910', 'n_tokens_mistral': 890, 'n_tokens_neox': 853, 'n_words': 263}