/// <summary> /// Returns a matrix where each element is the fractional part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The fractional of value.</returns> public static Matrix4x2f Fractional(Matrix4x2f value) { return(new Matrix4x2f(Functions.Fractional(value.M11), Functions.Fractional(value.M21), Functions.Fractional(value.M31), Functions.Fractional(value.M41), Functions.Fractional(value.M12), Functions.Fractional(value.M22), Functions.Fractional(value.M32), Functions.Fractional(value.M42))); }
/// <summary> /// Returns a matrix where each element is the fractional part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The fractional of value.</returns> public static Matrix3x2d Fractional(Matrix3x2d value) { return(new Matrix3x2d(Functions.Fractional(value.M11), Functions.Fractional(value.M21), Functions.Fractional(value.M31), Functions.Fractional(value.M12), Functions.Fractional(value.M22), Functions.Fractional(value.M32))); }
/// <summary> /// Returns a matrix where each element is the fractional part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The fractional of value.</returns> public static Matrix2x3f Fractional(Matrix2x3f value) { return(new Matrix2x3f(Functions.Fractional(value.M11), Functions.Fractional(value.M21), Functions.Fractional(value.M12), Functions.Fractional(value.M22), Functions.Fractional(value.M13), Functions.Fractional(value.M23))); }
/// <summary> /// Returns a matrix where each element is the fractional part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The fractional of value.</returns> public static Matrix3x4d Fractional(Matrix3x4d value) { return(new Matrix3x4d(Functions.Fractional(value.M11), Functions.Fractional(value.M21), Functions.Fractional(value.M31), Functions.Fractional(value.M12), Functions.Fractional(value.M22), Functions.Fractional(value.M32), Functions.Fractional(value.M13), Functions.Fractional(value.M23), Functions.Fractional(value.M33), Functions.Fractional(value.M14), Functions.Fractional(value.M24), Functions.Fractional(value.M34))); }
/// <summary> /// Returns a complex number where each component is the fractional part of the specified component. /// </summary> /// <param name="value">A complex number.</param> /// <returns>The fractional of value.</returns> public static Complex Fractional(Complex value) { return(new Complex( Functions.Fractional(value.A), Functions.Fractional(value.B))); }
/// <summary> /// Returns a matrix where each element is the fractional part of the specified element. /// </summary> /// <param name="value">A matrix.</param> /// <returns>The fractional of value.</returns> public static Matrix4x3d Fractional(Matrix4x3d value) { return(new Matrix4x3d(Functions.Fractional(value.M11), Functions.Fractional(value.M21), Functions.Fractional(value.M31), Functions.Fractional(value.M41), Functions.Fractional(value.M12), Functions.Fractional(value.M22), Functions.Fractional(value.M32), Functions.Fractional(value.M42), Functions.Fractional(value.M13), Functions.Fractional(value.M23), Functions.Fractional(value.M33), Functions.Fractional(value.M43))); }
/// <summary> /// Returns a vector where each component is the fractional part of the specified component. /// </summary> /// <param name="value">A vector.</param> /// <returns>The fractional of value.</returns> public static Vector2f Fractional(Vector2h value) { return(new Vector2f(Functions.Fractional(value.X), Functions.Fractional(value.Y))); }