s 8, 4, 2, 10, 1, 3, 8, 4, 2, 0. But then for the end result to maintain all numbers above 5 but replace all numbers below with a defined number..Let's say zero. So then the list would read...8, 0, 0, 10, 0, 0, 8, 0, 0.…
{4}-0;3
{5}-6;7
{6}-5;7
{7}-5;6
Here it can be shown that there are two subgraphs containing 0,1,2,3,4 and 5,6,7. How can I use spiderweb (either using scripting or the components) to give me this result when I have many more vertices??
Thanks,
Sam…
matched with
{0;0}(N=5) {1;0}(N=5)
you would wish for {0;0} --> {0;0} and {0;1} --> {0;0}
because it would recognise {0;1} is a subbranch of {0}
is that right?…
, _ {2, 4, 3}, _ {1, 3, 4}}
Dim MatrixB(,) As Double = { _ {1, 0, 0}, _ {0, 1, 0}, _ {0, 0, 1}}
Dim MatrixC(,) As Double = { _ {0, 0, 0}, _ {0, 0, 0}, _ {0, 0, 0}}
Public Shared Operator + ( _ a As MatrixA, _ b As MatrixB_ ) As MatrixC
A = MatrixC
But I guess the "Public Shared..." part is a RH 5 function (?) and I'm running RH4!
Any ideas?
Also, not sure if I need to define MatrixC before the multiplication (?) but it's an attempt to troubleshoot...
Thanks, Peter…