From: Stefan Jahn <stefan@gr...>  20060724 05:40:07

Am Mo, 26.06.2006, 21:38, schrieb Antonio: > Hi, Hello Antonio, > [cut] >> > Well, in fact this should be possible. I'll look at the example and >> > come up for a comment... >> >> This is very good news. Unfortunately I'm not jet able to do such >> operations, is there a particular syntax? >> >> To trigger the error I see please modify the least equation to >> >> n = k * sqrt( L1 / L2 ) >> >> in this way I get this error during the simulation: >> >> vector 'L1' and 'L2' have different sizes >> >> while I would like a vector named n with all the calculated values. > > I found the problem. If I use the "constant" sweep parameters I've set > to define some "global variable" I get the error since these values > although constants are treated as vectors and the simulator gives the > dimension mismatch error. If I put directly the numeric values I got > the correct result, but in this way I lose the gain to define such > "global variables". I think would be a good thing to fix, otherwise... > well I'll learn to live with it ;). > > Many thanks, at least I've found a workaround with your help :). I just send Raimund a patch which enables the simulator to solve your n = k * sqrt( L1 / L2 ) equation, where k, L1 and L2 may be vectors with different size, but being multiples of each other. I fixed this for all twovector operations. Cheers, Stefan. 