using System; using System.Collections.Generic; using System.Linq; using System.Text; using L = Science.Mathematics.LinearAlgebra; namespace Strang3Ed.Chapter05.Section3 { public class Example09 { public Example09() { } private string result; public string Result { get{return result;} } public void Compute() { L.Vector u = new L.Vector(3); u[0] = 1.0; u[1] = 1.0; u[2] = 1.0; L.Vector v = new L.Vector(3); v[0] = 1.0; v[1] = 1.0; v[2] = 2.0; result += (u % v).ToString(); } } } /* 1 -1 0 */