
On Aug 31, 2006, at 10:50 AM, Andy Little wrote:
"Deane Yang" <deane_yang@yahoo.com> wrote in message news:ed5ero$sbm$1@sea.gmane.org...
Andy Little wrote:
One way or another, presenting Maxwells Equations in the form of physical quantities is a goal of Quan.
This is a worthy goal. As a biased modern differential geometer, my view is that this would be a lot easier if you were to write Maxwell's equations with respect to the Minkowski space-time metric and using differential forms. A lot of stuff fits together in a more logical consistent fashion when you do this.
Well the real goal is to *somehow* model electric and magnetic fields, and similarly for aerodynamics in 3D space, or at least to make some very simple approximations to the reality. Though actually FWIW I'll probably limit my horizons to just a quan::complex for the moment :-)
Can't you just use std::complex<T> as value type in quan?