public Matrix3d set ( int column , int row , double value ) { switch ( column ) { case 0 : switch ( row ) { case 0 : this . m00 = value ; return this ; case 1 : this . m01 = value ; return this ; case 2 : this . m02 = value ; return this ; default : break ; } break ; case 1 : switch ( row ) { case 0 : this . m10 = value ; return this ; case 1 : this . m11 = value ; return this ; case 2 : this . m12 = value ; return this ; default : break ; } break ; case 2 : switch ( row ) { case 0 : this . m20 = value ; return this ; case 1 : this . m21 = value ; return this ; case 2 : this . m22 = value ; return this ; default : break ; } break ; default : break ; } throw new IllegalArgumentException ( ) ; }
Set the matrix element at the given column and row to the specified value .