Next: Matrix Tutorial Exercise 2, Previous: Vector Tutorial Exercise 2, Up: Answers to Exercises [Contents][Index]
The trick is to multiply by a vector of ones. Use r 4 [1 1 1] * to get the row sum. Similarly, use [1 1] r 4 * to get the column sum.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル