Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to negate a CNiVector?

Dear All,

 

I have a vector (can be a square wave or sine wave).  I want to invert (change the polarity) this vector.

I tried using the Negate() but it was unsuccessful since it a protected member.  I also tried multiplying the vector to -1 but

upon execution, I ended up in a debug error.

 

Please advise.

 

Thanks a bunch!!!!

0 Kudos
Message 1 of 1
(5,972 Views)