<commit_before>#pragma once

#include "Property.h"

namespace FTL
{
	template <class ValueType, int _Dimension>
	class Vector
	{
	public:
		static constexpr int Dimension = _Dimension;

		Property<Vector, ValueType, false, false, PropertyType::AutoGen> Value[Dimension];

		Property<Vector, float, false, true, PropertyType::GetterOnly> Magnitude
		{
			[this]()
			{
				float value = 0;

				for (int i = 0; i < Dimension; ++i)
				{
					value += Value[i].get() * Value[i].get();
				}

				return value;
			}
		};
<commit_msg>Code simplified<commit_after>#pragma once

#include "Property.h"

namespace FTL
{
	template <class ValueType, int _Dimension>
	class Vector
	{
	public:
		static constexpr int Dimension = _Dimension;

		Property<Vector, ValueType, false, false, PropertyType::AutoGen> Value[Dimension];

		Property<Vector, float, false, true, PropertyType::GetterOnly> Magnitude
		{
			[this]()
			{
				float value = 0;

				for (int i = 0; i < Dimension; ++i)
				{
					value += Value[i] * Value[i];
				}

				return value;
			}
		};

{'fraction_non_alphanumeric': 0.1295238095238095, 'fraction_numerical': 0.0038095238095238095, 'mean_word_length': 3.4533898305084745, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '4477412', 'n_tokens_mistral': 423, 'n_tokens_neox': 355, 'n_words': 95}