from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='tmm-home'),  # redirects to home.html page
    path('choose/', views.choose, name='choose'),
    path('add/', views.add, name='op_add'),  # redirects to op_addition.html
    path('subtract/', views.subtract, name='op_subtract'),
    path('multiply/', views.multiply, name='op_multiply'),
    path('bitwiseor/', views.bit_or, name='op_bitwiseOR'),
    path('bitwiseand/', views.bit_and, name='op_bitwiseAND'),
    path('bitwisexor/', views.bit_xor, name='op_bitwiseXOR'),
    path('power/', views.power, name='op_power'),
    path('rightshift/', views.right_shift, name='op_right_shift'),
    path('leftshift/', views.left_shift, name='op_left_shift'),
    path('scalarmultiply/', views.scalar_multiply, name='op_scalar_multiply'),
    path('transpose/', views.transpose, name='op_transpose'),
    path('boolmultiply/', views.boolean_multiply, name='op_boolean_multiply'),
    path('boolpower/', views.boolean_power, name='op_boolean_power'),
    path('determinant/', views.determinant, name='op_determinant'),
    path('cofactor/', views.cofactor, name='op_cofactor'),
    path('adjoint/', views.adjoint, name='op_adjoint'),
    path('minor/', views.find_minor, name='op_find_minor'),
    path('inverse/', views.inverse, name='op_inverse'),
]

from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='tmm-home'),  # redirects to home.html page
    path('choose/', views.choose, name='choose'),
    path('add/', views.add, name='op_add'),  # redirects to op_addition.html
    path('subtract/', views.subtract, name='op_subtract'),
    path('multiply/', views.multiply, name='op_multiply'),
    path('bitwiseor/', views.bit_or, name='op_bitwiseOR'),
    path('bitwiseand/', views.bit_and, name='op_bitwiseAND'),
    path('bitwisexor/', views.bit_xor, name='op_bitwiseXOR'),
    path('power/', views.power, name='op_power'),
    path('rightshift/', views.right_shift, name='op_right_shift'),
    path('leftshift/', views.left_shift, name='op_left_shift'),
    path('scalarmultiply/', views.scalar_multiply, name='op_scalar_multiply'),
    path('transpose/', views.transpose, name='op_transpose'),
    path('boolmultiply/', views.boolean_multiply, name='op_boolean_multiply'),
    path('boolpower/', views.boolean_power, name='op_boolean_power'),
    path('determinant/', views.determinant, name='op_determinant'),
    path('cofactor/', views.cofactor, name='op_cofactor'),
    path('adjoint/', views.adjoint, name='op_adjoint'),
    path('minor/', views.find_minor, name='op_find_minor'),
    path('inverse/', views.inverse, name='op_inverse'),
]

# redirects to home.html page # redirects to op_addition.html