using System; using System.Collections.Generic; using System.Linq; using System.Text; using L = Science.Mathematics.LinearAlgebra; namespace Strang3Ed.Chapter05.Section3 { public class Example10 { public Example10() { } 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] = 0.0; u[2] = 0.0; L.Vector v = new L.Vector(3); v[0] = 0.0; v[1] = 1.0; v[2] = 0.0; result += (u % v).ToString(); } } } /* 0 0 1 */