using System; using System.Collections.Generic; using System.Linq; using System.Text; using V = Science.Mathematics.VectorCalculus; namespace VectorCalculus5Ed.Chapter1.Section1 { public class Example12 { public Example12() { } private string result; public string Result { get{return result;} } public void Compute() { V.Vector a = new V.Vector(3); a[0] = 3.0; a[1] = -1.0; a[2] = 2.0; V.Vector v = new V.Vector(3); v[0] = 2.0; v[1] = -3.0; v[2] = 4.0; V.Line l = new V.Line(a, v); l.Parameter = 10.0; V.Vector v3 = l.GetVectorOnLine(); result += v3.ToString(); } } } // (23,-31,42)