/// <summary> /// Solves a system of linear equations, <b>Ax = b</b>, with A SVD factorized. /// </summary> /// <param name="input">The right hand side vector, <b>b</b>.</param> /// <returns>The left hand side <see cref="Vector{T}"/>, <b>x</b>.</returns> public virtual Vector <T> Solve(Vector <T> input) { // Check for proper arguments. if (input == null) { throw new ArgumentNullException("input"); } if (!ComputeVectors) { throw new InvalidOperationException(Resources.SingularVectorsNotComputed); } var x = MatrixU.CreateVector(MatrixVT.ColumnCount); Solve(input, x); return(x); }