> Yes, I know. Still, that rank() call should be removed, as LU::solve()
> method returns false if it can't solve the equation system. That case is
> not addressed -- the question is what to do in that case: write a "?"
> for voltage level, or use the last valid state for the circuit?

Yeah, you should simply skip the LU step and solve the vector with the
old LU, if the vector has changed.

You should also emit debugging information because it means that there
is probably something wrong with one of the components. Nb, there are
some pathalogical circuits that inherently produce invalid matrices. I
can send you an example.

-- 
New president: Here we go again...
Chemistry.com: A total rip-off.
Powers are not rights.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

Reply via email to