Help for this page

Select Code to Download


  1. or download this
    $rot_mat1 = eul2mat(...);
    $rot_mat2 = eul2mat(...);
    # Notice the scalar here too, since mat_multiply returns a ref:
    $cbn_mat = mat_multiply($rot_mat1,$rot_mat2);