Home > Back-end >  One line of code in C can't understand about math
One line of code in C can't understand about math

Time:04-04

C + + beginners, one line of code that can't understand, please give advice or comments
X is a vector,
Praj=(x.a rray () to 1.0 f), array () abs2 ()

Each step is what mean

CodePudding user response:

X is defined to stick out, or you couldn't understand,
X is supposed to be a class, also overloaded operator (double f) -

CodePudding user response:

Praj=(x.a rray () to 1.0 f), array () abs2 ()
Separate line
A=x.a rray () to 1.0 f
B=a.a rray ()//array function called
C=b.a bs2 ()//abs2 function called
Praj=c

  • Related