C++程序  |  3行  |  46 B

Array3d v(1,-2,-3);
cout << v.abs2() << endl;