<commit_before>package galu.vector;

public final class Vectors
{
	private Vectors() {}
	
	public static Vector2 vec2(float x, float y)
	{
		return new Vector2(x, y);
	}
	
	public static Vector2 vec2(Vector2 vec)
	{
		return new Vector2(vec);
	}
	
	public static Vector3 vec3(float x, float y, float z)
	{
		return new Vector3(x, y, z);
	}
	
	public static Vector3 vec3(Vector3 vec)
	{
		return new Vector3(vec);
	}
	
	public static Vector3 vec3(Vector2 vec, float z)
	{
		return new Vector3(vec.x, vec.y, z);
	}
	
	public static Vector4 vec4(float x, float y, float z, float w)
	{
		return new Vector4(x, y, z, w);
	}
	
	public static Vector4 vec4(Vector4 vec)
	{
		return new Vector4(vec);
	}
	
	public static Vector4 vec4(Vector2 vec, float z, float w)
	{
		return new Vector4(vec.x, vec.y, z, w);
	}
	
	public static Vector4 vec4(Vector3 vec, float w)
	{
		return new Vector4(vec.x, vec.y, vec.z, w);
	}
}<commit_msg>helpers to create vectors filled with a value<commit_after>package galu.vector;

public final class Vectors
{
	private Vectors() {}
	
	public static Vector2 vec2(float x, float y)
	{
		return new Vector2(x, y);
	}
	
	public static Vector2 vec2(float value)
	{
		return new Vector2(value, value);
	}
	
	public static Vector2 vec2(Vector2 vec)
	{
		return new Vector2(vec);
	}
	
	public static Vector3 vec3(float x, float y, float z)
	{
		return new Vector3(x, y, z);
	}
	
	public static Vector3 vec3(float value)
	{
		return new Vector3(value, value, value);
	}
	
	public static Vector3 vec3(Vector3 vec)
	{
		return new Vector3(vec);
	}
	
	public static Vector3 vec3(Vector2 vec, float z)
	{
		return new Vector3(vec.x, vec.y, z);
	}
	
	public static Vector4 vec4(float x, float y, float z, float w)
	{
		return new Vector4(x, y, z, w);
	}
	
	public static Vector4 vec4(float value)
	{
		return new Vector4(value, value, value, value);
	}
	
	public static Vector4 vec4(Vector4 vec)
	{
		return new Vector4(vec);
	}
	
	public static Vector4 vec4(Vector2 vec, float z, float w)
	{
		return new Vector4(vec.x, vec.y, z, w);
	}
	
	public static Vector4 vec4(Vector3 vec, float w)
	{
		return new Vector4(vec.x, vec.y, vec.z, w);
	}
}
{'fraction_non_alphanumeric': 0.11023255813953488, 'fraction_numerical': 0.03488372093023256, 'mean_word_length': 3.490605427974948, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5614304', 'n_tokens_mistral': 874, 'n_tokens_neox': 810, 'n_words': 265}